diff options
author | Eric Dumazet <edumazet@google.com> | 2022-01-24 12:24:54 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-25 11:25:21 +0000 |
commit | 0dad4087a86a2cbe177404dc73f18ada26a2c390 (patch) | |
tree | 53657e9ea34bc1992f4a6dbec1268406482e8580 /include/net/inet_timewait_sock.h | |
parent | 27dd35e02235902933626469a1c9198612d72564 (diff) | |
download | linux-0dad4087a86a2cbe177404dc73f18ada26a2c390.tar.gz linux-0dad4087a86a2cbe177404dc73f18ada26a2c390.tar.bz2 linux-0dad4087a86a2cbe177404dc73f18ada26a2c390.zip |
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>
Diffstat (limited to 'include/net/inet_timewait_sock.h')
-rw-r--r-- | include/net/inet_timewait_sock.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/inet_timewait_sock.h b/include/net/inet_timewait_sock.h index b323db969b8b..463ae5d33eb0 100644 --- a/include/net/inet_timewait_sock.h +++ b/include/net/inet_timewait_sock.h @@ -110,8 +110,6 @@ static inline void inet_twsk_reschedule(struct inet_timewait_sock *tw, int timeo void inet_twsk_deschedule_put(struct inet_timewait_sock *tw); -void inet_twsk_purge(struct inet_hashinfo *hashinfo, int family); - static inline struct net *twsk_net(const struct inet_timewait_sock *twsk) { |