Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tcp: do not export tcp_twsk_purge()

After commit 1eeb50435739 ("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>

authored by

Eric Dumazet and committed by
David S. Miller
c51db4ac 6a57f091

-1
-1
net/ipv4/tcp_minisocks.c
··· 403 403 } 404 404 } 405 405 } 406 - EXPORT_SYMBOL_GPL(tcp_twsk_purge); 407 406 408 407 /* Warning : This function is called without sk_listener being locked. 409 408 * Be sure to read socket fields once, as their value could change under us.