Skip to contentSkip to conversation

tcp: do not export tcp_twsk_purge()

PATCH Applied Eric Dumazet 3 participants 3 messages Apr 19, 2024 – Apr 22, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tcp: do not export tcp_twsk_purge()

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.

Cc Kuniyuki Iwashima <[email protected]>
---
 net/ipv4/tcp_minisocks.c | 1 -
 1 file changed, 1 deletion(-)
net/ipv4/tcp_minisocks.c +0 -1
index f53c7ada2ace4219917e75f806f39a00d5ab0123..146c061145b4602082d149e65f8e6bbcf4bd311b 100644
@@ -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.
Signature · 1 line
2.44.0.769.g3c40516874-goog
Reviewed-by on v1 1/1
#1 lore raw

From: Eric Dumazet <[email protected]>
Date: Fri, 19 Apr 2024 07:19:42 +0000

Quoted 6 lines

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.

Cc Kuniyuki Iwashima <[email protected]>
Quoted 19 lines
---
 net/ipv4/tcp_minisocks.c | 1 -
 1 file changed, 1 deletion(-)
net/ipv4/tcp_minisocks.c +0 -1
index f53c7ada2ace4219917e75f806f39a00d5ab0123..146c061145b4602082d149e65f8e6bbcf4bd311b 100644
@@ -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.
Signature · 1 line
2.44.0.769.g3c40516874-goog
#2 lore raw
In reply to Eric Dumazet
This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:

Quoted 8 lines · 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.

Cc Kuniyuki Iwashima <[email protected]>

[...]

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!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html