Skip to content
Commit 80ad1d61 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net: do not call sock_put() on TIMEWAIT sockets

commit 3ab5aee7

 ("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: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 28ad7b06
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment