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:30:51 +0200
commit68238d640c2793c26ea895670272ee5e45ddda44 (patch)
tree1812bacd340d3edfe07c29a05a687b0c1c88a8da
parent00632faeef4fc17ba807c9b10be4ac49c168b4c6 (diff)
downloadlinux-68238d640c2793c26ea895670272ee5e45ddda44.tar.gz
linux-68238d640c2793c26ea895670272ee5e45ddda44.tar.bz2
linux-68238d640c2793c26ea895670272ee5e45ddda44.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 000dce7d0e2d..c562cb965e74 100644
--- a/net/ipv4/tcp_minisocks.c
+++ b/net/ipv4/tcp_minisocks.c
@@ -362,7 +362,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.