]> git.baikalelectronics.ru Git - kernel.git/commit
tcp/dccp: get rid of inet_twsk_purge()
authorEric Dumazet <edumazet@google.com>
Mon, 24 Jan 2022 20:24:54 +0000 (12:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jan 2022 11:25:21 +0000 (11:25 +0000)
commit0dad4087a86a2cbe177404dc73f18ada26a2c390
tree53657e9ea34bc1992f4a6dbec1268406482e8580
parent27dd35e02235902933626469a1c9198612d72564
tcp/dccp: get rid of inet_twsk_purge()

Prior patches in the series made sure tw_timer_handler()
can be fired after netns has been dismantled/freed.

We no longer have to scan a potentially big TCP ehash
table at netns dismantle.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_timewait_sock.h
net/dccp/ipv4.c
net/dccp/ipv6.c
net/ipv4/inet_timewait_sock.c
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c