]> Pileus Git - ~andy/linux/commit
net: do not call sock_put() on TIMEWAIT sockets
authorEric Dumazet <edumazet@google.com>
Wed, 2 Oct 2013 04:04:11 +0000 (21:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Oct 2013 21:05:54 +0000 (17:05 -0400)
commit80ad1d61e72d626e30ebe8529a0455e660ca4693
treee2d0a072268d9522e94eaed272544a2732e77ee1
parent28ad7b06f4a7670d5794d3751f5c68a7e5e437a8
net: do not call sock_put() on TIMEWAIT sockets

commit 3ab5aee7fe84 ("net: Convert TCP & DCCP hash tables to use RCU /
hlist_nulls") incorrectly used sock_put() on TIMEWAIT sockets.

We should instead use inet_twsk_put()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_hashtables.c
net/ipv6/inet6_hashtables.c