Commit 1ace2b4d authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net: shrink struct sock by 8 bytes



Move sk_bind_phc next to sk_peer_lock to fill a hole.

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1b31debc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;