Message ID | 20240419071942.1870058-1-edumazet@google.com (mailing list archive) |
---|---|
State | Accepted |
Commit | c51db4ac10d57c366f9a92121e3889bfc6c324cd |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] tcp: do not export tcp_twsk_purge() | expand |
From: Eric Dumazet <edumazet@google.com> Date: Fri, 19 Apr 2024 07:19:42 +0000 > 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> > --- > net/ipv4/tcp_minisocks.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/net/ipv4/tcp_minisocks.c b/net/ipv4/tcp_minisocks.c > index f53c7ada2ace4219917e75f806f39a00d5ab0123..146c061145b4602082d149e65f8e6bbcf4bd311b 100644 > --- a/net/ipv4/tcp_minisocks.c > +++ b/net/ipv4/tcp_minisocks.c > @@ -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. > -- > 2.44.0.769.g3c40516874-goog >
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller <davem@davemloft.net>: On Fri, 19 Apr 2024 07:19:42 +0000 you wrote: > 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> > > [...] Here is the summary with links: - [net-next] tcp: do not export tcp_twsk_purge() https://git.kernel.org/netdev/net-next/c/c51db4ac10d5 You are awesome, thank you!
diff --git a/net/ipv4/tcp_minisocks.c b/net/ipv4/tcp_minisocks.c index f53c7ada2ace4219917e75f806f39a00d5ab0123..146c061145b4602082d149e65f8e6bbcf4bd311b 100644 --- a/net/ipv4/tcp_minisocks.c +++ b/net/ipv4/tcp_minisocks.c @@ -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.
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> --- net/ipv4/tcp_minisocks.c | 1 - 1 file changed, 1 deletion(-)