Skip to content

Commit 31c4511

Browse files
edumazetkuba-moo
authored andcommitted
tcp: move mtu_info to remove two 32bit holes
This removes 8bytes waste on 64bit builds. Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: Kuniyuki Iwashima <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent a105ea4 commit 31c4511

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/linux/tcp.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,9 @@ struct tcp_sock {
448448
* the first SYN. */
449449
u32 undo_marker; /* snd_una upon a new recovery episode. */
450450
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+
*/
451454
u64 bytes_retrans; /* RFC4898 tcpEStatsPerfOctetsRetrans
452455
* Total data bytes retransmitted
453456
*/
@@ -494,9 +497,6 @@ struct tcp_sock {
494497
u32 probe_seq_end;
495498
} mtu_probe;
496499
u32 plb_rehash; /* PLB-triggered rehash attempts */
497-
u32 mtu_info; /* We received an ICMP_FRAG_NEEDED / ICMPV6_PKT_TOOBIG
498-
* while socket was owned by user.
499-
*/
500500
#if IS_ENABLED(CONFIG_MPTCP)
501501
bool is_mptcp;
502502
#endif

0 commit comments

Comments
 (0)