tcp: do not export tcp_twsk_purge()
BugLink: https://bugs.launchpad.net/bugs/2084005 commit c51db4ac10d57c366f9a92121e3889bfc6c324cd upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Koichiro Den <koichiro.den@canonical.com> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
This commit is contained in:
committed by
Mehmet Basaran
parent
a6d23687e4
commit
d316fc7511
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user