Re: [PATCH net-next] tcp/dccp: fix inet_reuseport_add_sock()

2016-04-07 Thread David Miller
From: Eric Dumazet Date: Wed, 06 Apr 2016 22:07:34 -0700 > From: Eric Dumazet > > David Ahern reported panics in __inet_hash() caused by my recent commit. > > The reason is inet_reuseport_add_sock() was still using > sk_nulls_for_each_rcu() instead of sk_for_each_rcu(). > SO_REUSEPORT enabled

Re: [PATCH net-next] tcp/dccp: fix inet_reuseport_add_sock()

2016-04-07 Thread David Ahern
On 4/6/16 11:07 PM, Eric Dumazet wrote: From: Eric Dumazet David Ahern reported panics in __inet_hash() caused by my recent commit. The reason is inet_reuseport_add_sock() was still using sk_nulls_for_each_rcu() instead of sk_for_each_rcu(). SO_REUSEPORT enabled listeners were causing an insta

[PATCH net-next] tcp/dccp: fix inet_reuseport_add_sock()

2016-04-06 Thread Eric Dumazet
From: Eric Dumazet David Ahern reported panics in __inet_hash() caused by my recent commit. The reason is inet_reuseport_add_sock() was still using sk_nulls_for_each_rcu() instead of sk_for_each_rcu(). SO_REUSEPORT enabled listeners were causing an instant crash. While chasing this bug, I found