tcp: do not export tcp_twsk_purge()
authorEric Dumazet <edumazet@google.com>
Fri, 19 Apr 2024 07:19:42 +0000 (07:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Apr 2024 10:53:51 +0000 (11:53 +0100)
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>
net/ipv4/tcp_minisocks.c

index f53c7ada2ace4219917e75f806f39a00d5ab0123..146c061145b4602082d149e65f8e6bbcf4bd311b 100644 (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.