tcp: do not export tcp_twsk_purge()

commit c51db4ac10 upstream.

After commit 1eeb504357 ("tcp/dccp: do not care about
families in inet_twsk_purge()") tcp_twsk_purge() is
no longer potentially called from a module.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Eric Dumazet 2024-04-19 07:19:42 +00:00 committed by Greg Kroah-Hartman
parent 3d3a8654a5
commit f0974e6bc3

View File

@ -378,7 +378,6 @@ void tcp_twsk_purge(struct list_head *net_exit_list)
} }
} }
} }
EXPORT_SYMBOL_GPL(tcp_twsk_purge);
/* Warning : This function is called without sk_listener being locked. /* Warning : This function is called without sk_listener being locked.
* Be sure to read socket fields once, as their value could change under us. * Be sure to read socket fields once, as their value could change under us.