ipv6: fix inet6_lookup_listener()
authorEric Dumazet <edumazet@google.com>
Sat, 9 Apr 2016 15:01:13 +0000 (08:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Apr 2016 20:53:52 +0000 (16:53 -0400)
commit03c5b534185f9844c1b5fcfdbae2adc32821ec42
tree1af4a44323cfd4664bb530b1dc7587fa41393960
parent498cd8e49509c761b39dab26be7f739d95940e16
ipv6: fix inet6_lookup_listener()

A stupid refactoring bug in inet6_lookup_listener() needs to be fixed
in order to get proper SO_REUSEPORT behavior.

Fixes: 3b24d854cb35 ("tcp/dccp: do not touch listener sk_refcnt under synflood")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/inet6_hashtables.c