Skip to contentSkip to conversation

tcp: unexport tcp_ca_get_key_by_name and tcp_ca_get_name_by_key

PATCH Applied Christoph Hellwig 2 participants 2 messages Mar 10, 2022 – Mar 12, 2022

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

PATCH 1/1 tcp: unexport tcp_ca_get_key_by_name and tcp_ca_get_name_by_key

Both functions are only used by core networking code.

---
 net/ipv4/tcp_cong.c | 2 --
 1 file changed, 2 deletions(-)
net/ipv4/tcp_cong.c +0 -2
index db5831e6c136a..dc95572163df3 100644
@@ -135,7 +135,6 @@ u32 tcp_ca_get_key_by_name(struct net *net, const char *name, bool *ecn_ca)
 
 	return key;
 }
-EXPORT_SYMBOL_GPL(tcp_ca_get_key_by_name);
 
 char *tcp_ca_get_name_by_key(u32 key, char *buffer)
 {
@@ -151,7 +150,6 @@ char *tcp_ca_get_name_by_key(u32 key, char *buffer)
 
 	return ret;
 }
-EXPORT_SYMBOL_GPL(tcp_ca_get_name_by_key);
 
 /* Assign choice of congestion control. */
 void tcp_assign_congestion_control(struct sock *sk)
Signature · 1 line
2.30.2
#1 lore raw
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Quoted 6 lines · On Thu, 10 Mar 2022 15:32:29 +0100 you wrote:

Both functions are only used by core networking code.

---
 net/ipv4/tcp_cong.c | 2 --
 1 file changed, 2 deletions(-)

Here is the summary with links:
- tcp: unexport tcp_ca_get_key_by_name and tcp_ca_get_name_by_key

    https://git.kernel.org/netdev/net-next/c/515bb3071e16

You are awesome, thank you!

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