summaryrefslogtreecommitdiff
path: root/net/mptcp/subflow.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-02-24 17:16:18 -0800
committerJakub Kicinski <kuba@kernel.org>2026-02-24 17:16:19 -0800
commit54ef3e6bbeb2b66ddefebc2155bbea6f32ea0bbb (patch)
tree2823acb3b64d0ba0e3de6b18c0077fef9c0a729e /net/mptcp/subflow.c
parentf033335937d6f72a13bb38d82422eef30da31972 (diff)
parentfcd3d039fab693df3d41ac9bcb12fb4e8ddd69fe (diff)
Merge branch 'tcp-rework-tcp_v-4-6-_send_check'
Eric Dumazet says: ==================== tcp: rework tcp_v{4,6}_send_check() tcp_v{4,6}_send_check() are only called from __tcp_transmit_skb() They currently are in different files (tcp_ipv4.c and tcp_ipv6.c) thus out of line. This series move them close to their caller so that compiler can inline them. For all patches in the series: $ scripts/bloat-o-meter -t vmlinux.0 vmlinux.3 add/remove: 0/2 grow/shrink: 1/3 up/down: 102/-178 (-76) Function old new delta __tcp_transmit_skb 3321 3423 +102 tcp_v4_send_check 136 132 -4 __tcp_v4_send_check 130 121 -9 mptcp_subflow_init 777 763 -14 __pfx_tcp_v6_send_check 16 - -16 tcp_v6_send_check 135 - -135 Total: Before=25143100, After=25143024, chg -0.00% ==================== Link: https://patch.msgid.link/20260223100729.3761597-1-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mptcp/subflow.c')
-rw-r--r--net/mptcp/subflow.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mptcp/subflow.c b/net/mptcp/subflow.c
index f66129f1e649..dd79c5b37a6b 100644
--- a/net/mptcp/subflow.c
+++ b/net/mptcp/subflow.c
@@ -2190,7 +2190,6 @@ void __init mptcp_subflow_init(void)
subflow_v6m_specific = subflow_v6_specific;
subflow_v6m_specific.queue_xmit = ipv4_specific.queue_xmit;
- subflow_v6m_specific.send_check = ipv4_specific.send_check;
subflow_v6m_specific.net_header_len = ipv4_specific.net_header_len;
subflow_v6m_specific.mtu_reduced = ipv4_specific.mtu_reduced;
subflow_v6m_specific.rebuild_header = subflow_rebuild_header;