]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tcp: move tcp_v6_send_check() to tcp_output.c
authorEric Dumazet <edumazet@google.com>
Mon, 23 Feb 2026 10:07:28 +0000 (10:07 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 25 Feb 2026 01:16:09 +0000 (17:16 -0800)
commit255688652b8c439eb35c68ec5cdac4aa63737d35
tree160e458af21282d300c832007800c71432a287c4
parentbd5e5e1d41d316c47dd9001104b62033992daf6e
tcp: move tcp_v6_send_check() to tcp_output.c

Move tcp_v6_send_check() so that __tcp_transmit_skb() can inline it.

$ scripts/bloat-o-meter -t vmlinux.1 vmlinux.2
add/remove: 0/0 grow/shrink: 1/0 up/down: 105/0 (105)
Function                                     old     new   delta
__tcp_transmit_skb                          3321    3426    +105
Total: Before=25143091, After=25143196, chg +0.00%

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260223100729.3761597-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/tcp.h
net/ipv4/tcp_output.c
net/ipv6/tcp_ipv6.c