Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tcp: move mtu_info to remove two 32bit holes

This removes 8bytes waste on 64bit builds.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250919204856.2977245-8-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Eric Dumazet and committed by
Jakub Kicinski
31c4511b a105ea47

+3 -3
+3 -3
include/linux/tcp.h
··· 448 448 * the first SYN. */ 449 449 u32 undo_marker; /* snd_una upon a new recovery episode. */ 450 450 int undo_retrans; /* number of undoable retransmissions. */ 451 + u32 mtu_info; /* We received an ICMP_FRAG_NEEDED / ICMPV6_PKT_TOOBIG 452 + * while socket was owned by user. 453 + */ 451 454 u64 bytes_retrans; /* RFC4898 tcpEStatsPerfOctetsRetrans 452 455 * Total data bytes retransmitted 453 456 */ ··· 497 494 u32 probe_seq_end; 498 495 } mtu_probe; 499 496 u32 plb_rehash; /* PLB-triggered rehash attempts */ 500 - u32 mtu_info; /* We received an ICMP_FRAG_NEEDED / ICMPV6_PKT_TOOBIG 501 - * while socket was owned by user. 502 - */ 503 497 #if IS_ENABLED(CONFIG_MPTCP) 504 498 bool is_mptcp; 505 499 #endif