mirror of https://github.com/torvalds/linux.git
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>
This commit is contained in:
parent
a105ea47a4
commit
31c4511bbb
|
|
@ -448,6 +448,9 @@ struct tcp_sock {
|
||||||
* the first SYN. */
|
* the first SYN. */
|
||||||
u32 undo_marker; /* snd_una upon a new recovery episode. */
|
u32 undo_marker; /* snd_una upon a new recovery episode. */
|
||||||
int undo_retrans; /* number of undoable retransmissions. */
|
int undo_retrans; /* number of undoable retransmissions. */
|
||||||
|
u32 mtu_info; /* We received an ICMP_FRAG_NEEDED / ICMPV6_PKT_TOOBIG
|
||||||
|
* while socket was owned by user.
|
||||||
|
*/
|
||||||
u64 bytes_retrans; /* RFC4898 tcpEStatsPerfOctetsRetrans
|
u64 bytes_retrans; /* RFC4898 tcpEStatsPerfOctetsRetrans
|
||||||
* Total data bytes retransmitted
|
* Total data bytes retransmitted
|
||||||
*/
|
*/
|
||||||
|
|
@ -494,9 +497,6 @@ struct tcp_sock {
|
||||||
u32 probe_seq_end;
|
u32 probe_seq_end;
|
||||||
} mtu_probe;
|
} mtu_probe;
|
||||||
u32 plb_rehash; /* PLB-triggered rehash attempts */
|
u32 plb_rehash; /* PLB-triggered rehash attempts */
|
||||||
u32 mtu_info; /* We received an ICMP_FRAG_NEEDED / ICMPV6_PKT_TOOBIG
|
|
||||||
* while socket was owned by user.
|
|
||||||
*/
|
|
||||||
#if IS_ENABLED(CONFIG_MPTCP)
|
#if IS_ENABLED(CONFIG_MPTCP)
|
||||||
bool is_mptcp;
|
bool is_mptcp;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue