tcp: do not export tcp_twsk_purge()

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>
This commit is contained in:
Eric Dumazet 2024-04-19 07:19:42 +00:00 committed by David S. Miller
parent 6a57f09162
commit c51db4ac10
1 changed files with 0 additions and 1 deletions

View File

@ -403,7 +403,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.
* Be sure to read socket fields once, as their value could change under us.