From: Eric Dumazet Date: Mon, 15 Nov 2021 19:02:37 +0000 (-0800) Subject: net: shrink struct sock by 8 bytes X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1ace2b4d2b4e1db8fc62d872ab54ab48f6215ecd;p=linux.git net: shrink struct sock by 8 bytes Move sk_bind_phc next to sk_peer_lock to fill a hole. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- diff --git a/include/net/sock.h b/include/net/sock.h index 985ddcd335048..2333ab0817890 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -489,6 +489,7 @@ struct sock { u16 sk_busy_poll_budget; #endif spinlock_t sk_peer_lock; + int sk_bind_phc; struct pid *sk_peer_pid; const struct cred *sk_peer_cred; @@ -498,7 +499,6 @@ struct sock { seqlock_t sk_stamp_seq; #endif u16 sk_tsflags; - int sk_bind_phc; u8 sk_shutdown; u32 sk_tskey; atomic_t sk_zckey;