diff mbox series

[net-next] tcp: do not export tcp_parse_mss_option() and tcp_mtup_init()

Message ID 20250206093436.2609008-1-edumazet@google.com (mailing list archive)
State Accepted
Commit d876ec8d3ed3e2f9d29ed866248a294d71e40d86
Delegated to: Netdev Maintainers
Headers show
Series [net-next] tcp: do not export tcp_parse_mss_option() and tcp_mtup_init() | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/build_tools success No tools touched, skip
netdev/cc_maintainers warning 1 maintainers not CCed: dsahern@kernel.org
netdev/build_clang success Errors and warnings before: 3 this patch: 3
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 1 this patch: 1
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 14 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 2 this patch: 2
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2025-02-06--12-00 (tests: 891)

Commit Message

Eric Dumazet Feb. 6, 2025, 9:34 a.m. UTC
These two functions are not called from modules.

Signed-off-by: Eric Dumazet <edumazet@google.com>
---
 net/ipv4/tcp_input.c  | 1 -
 net/ipv4/tcp_output.c | 1 -
 2 files changed, 2 deletions(-)

Comments

Simon Horman Feb. 6, 2025, 5:59 p.m. UTC | #1
On Thu, Feb 06, 2025 at 09:34:36AM +0000, Eric Dumazet wrote:
> These two functions are not called from modules.
> 
> Signed-off-by: Eric Dumazet <edumazet@google.com>

Reviewed-by: Simon Horman <horms@kernel.org>
Joe Damato Feb. 7, 2025, 12:30 a.m. UTC | #2
On Thu, Feb 06, 2025 at 09:34:36AM +0000, Eric Dumazet wrote:
> These two functions are not called from modules.
> 
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> ---
>  net/ipv4/tcp_input.c  | 1 -
>  net/ipv4/tcp_output.c | 1 -
>  2 files changed, 2 deletions(-)

Reviewed-by: Joe Damato <jdamato@fastly.com>
Kuniyuki Iwashima Feb. 7, 2025, 3:31 a.m. UTC | #3
From: Eric Dumazet <edumazet@google.com>
Date: Thu,  6 Feb 2025 09:34:36 +0000
> These two functions are not called from modules.
> 
> Signed-off-by: Eric Dumazet <edumazet@google.com>

Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
patchwork-bot+netdevbpf@kernel.org Feb. 7, 2025, 8:10 p.m. UTC | #4
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu,  6 Feb 2025 09:34:36 +0000 you wrote:
> These two functions are not called from modules.
> 
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> ---
>  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!
diff mbox series

Patch

diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index eb82e01da911048b41ca380f913ef55566be79a7..61da8ffc2f86fe59a1853a3651b2fc8d96bbe34a 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -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
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index bc95d2a5924fdc6ea609fa006432db9b13444706..ef9f6172680f5f3a9384132962d6e34cfbf83f14 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -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.