From: Eric Dumazet Date: Mon, 15 Nov 2021 19:02:37 +0000 (-0800) Subject: net: shrink struct sock by 8 bytes X-Git-Tag: nvme-5.17-2022-01-27~177^2~443^2~12 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1ace2b4d2b4e1db8fc62d872ab54ab48f6215ecd;p=nvme.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 985ddcd33504..2333ab081789 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;