Skip to contentSkip to conversation

tcp: do not export tcp_parse_mss_option() and tcp_mtup_init()

PATCH Applied Eric Dumazet 5 participants 5 messages Feb 6, 2025 – Feb 7, 2025

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

PATCH 1/1 tcp: do not export tcp_parse_mss_option() and tcp_mtup_init()

These two functions are not called from modules.

---
 net/ipv4/tcp_input.c  | 1 -
 net/ipv4/tcp_output.c | 1 -
 2 files changed, 2 deletions(-)
net/ipv4/tcp_input.c +0 -1
index eb82e01da911048b41ca380f913ef55566be79a7..61da8ffc2f86fe59a1853a3651b2fc8d96bbe34a 100644
@@ -4174,7 +4174,6 @@ u16 tcp_parse_mss_option(const struct tcphdr *th, u16 user_mss)
 	}
 	return mss;
 }
-EXPORT_SYMBOL_GPL(tcp_parse_mss_option);
 
 /* Look for tcp options. Normally only called on SYN and SYNACK packets.
  * But, this can also be called on packets in the established flow when
net/ipv4/tcp_output.c +0 -1
index bc95d2a5924fdc6ea609fa006432db9b13444706..ef9f6172680f5f3a9384132962d6e34cfbf83f14 100644
@@ -1813,7 +1813,6 @@ void tcp_mtup_init(struct sock *sk)
 	if (icsk->icsk_mtup.enabled)
 		icsk->icsk_mtup.probe_timestamp = tcp_jiffies32;
 }
-EXPORT_SYMBOL(tcp_mtup_init);
 
 /* This function synchronize snd mss to current pmtu/exthdr set.
 
Signature · 1 line
2.48.1.362.g079036d154-goog
#4 lore raw
In reply to Eric Dumazet
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

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

Quoted 7 lines · On Thu, 6 Feb 2025 09:34:36 +0000 you wrote:

These two functions are not called from modules.

---
 net/ipv4/tcp_input.c  | 1 -
 net/ipv4/tcp_output.c | 1 -
 2 files changed, 2 deletions(-)

Here is the summary with links:
- [net-next] tcp: do not export tcp_parse_mss_option() and tcp_mtup_init()

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

You are awesome, thank you!

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