Re: [PATCH net v2] fou: avoid using sk_user_data before it is initialised

2016-05-24 Thread David Miller
From: Cong Wang Date: Mon, 23 May 2016 14:05:17 -0700 > On Mon, May 23, 2016 at 1:59 PM, David Miller wrote: >> From: Simon Horman >> Date: Fri, 20 May 2016 14:57:17 +0900 >> >>> During initialisation sk->sk_user_data should not be used before >>> it is initialised. >>> >>> Found by bisection a

Re: [PATCH net v2] fou: avoid using sk_user_data before it is initialised

2016-05-23 Thread Cong Wang
On Mon, May 23, 2016 at 1:59 PM, David Miller wrote: > From: Simon Horman > Date: Fri, 20 May 2016 14:57:17 +0900 > >> During initialisation sk->sk_user_data should not be used before >> it is initialised. >> >> Found by bisection after noticing the following: > ... >> Fixes: d92283e338f6 ("fou:

Re: [PATCH net v2] fou: avoid using sk_user_data before it is initialised

2016-05-23 Thread David Miller
From: Simon Horman Date: Fri, 20 May 2016 14:57:17 +0900 > During initialisation sk->sk_user_data should not be used before > it is initialised. > > Found by bisection after noticing the following: ... > Fixes: d92283e338f6 ("fou: change to use UDP socket GRO") > Signed-off-by: Simon Horman >

Re: [PATCH net v2] fou: avoid using sk_user_data before it is initialised

2016-05-20 Thread Cong Wang
On Thu, May 19, 2016 at 10:57 PM, Simon Horman wrote: > During initialisation sk->sk_user_data should not be used before > it is initialised. > > Found by bisection after noticing the following: > > $ ip fou add port ipproto 47 > [0.383417] BUG: unable to handle kernel NULL pointer derefe

[PATCH net v2] fou: avoid using sk_user_data before it is initialised

2016-05-19 Thread Simon Horman
During initialisation sk->sk_user_data should not be used before it is initialised. Found by bisection after noticing the following: $ ip fou add port ipproto 47 [0.383417] BUG: unable to handle kernel NULL pointer dereference at 0008 [0.384132] IP: [] fou_nl_cmd_add_por