summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-04-19 07:19:42 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-08-29 17:33:57 +0200
commitf0974e6bc385f0e53034af17abbb86ac0246ef1c (patch)
tree64aeb9f8a9af392c2ab7a11eccb978bd41020034
parent3d3a8654a53b42c7f0d6b611ebd0b69b66184dcd (diff)
downloadlinux-f0974e6bc385f0e53034af17abbb86ac0246ef1c.tar.gz
linux-f0974e6bc385f0e53034af17abbb86ac0246ef1c.tar.bz2
linux-f0974e6bc385f0e53034af17abbb86ac0246ef1c.zip
tcp: do not export tcp_twsk_purge()
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>
-rw-r--r--net/ipv4/tcp_minisocks.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/tcp_minisocks.c b/net/ipv4/tcp_minisocks.c
index 78962c7f8c33..0c04c460001f 100644
--- a/net/ipv4/tcp_minisocks.c
+++ b/net/ipv4/tcp_minisocks.c
@@ -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.
* Be sure to read socket fields once, as their value could change under us.