From: Eric Dumazet Date: Mon, 15 Nov 2021 19:02:36 +0000 (-0800) Subject: ipv6: shrink struct ipcm6_cookie X-Git-Tag: v5.17-rc1~170^2~443^2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b31debca83284486cd736757b5f26d51719ef80;p=thirdparty%2Fkernel%2Flinux.git ipv6: shrink struct ipcm6_cookie gso_size can be moved after tclass, to use an existing hole. (8 bytes saved on 64bit arches) Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- diff --git a/include/net/ipv6.h b/include/net/ipv6.h index c19bf51ded1d0..53ac7707ca70a 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -345,9 +345,9 @@ struct ipcm6_cookie { struct sockcm_cookie sockc; __s16 hlimit; __s16 tclass; + __u16 gso_size; __s8 dontfrag; struct ipv6_txoptions *opt; - __u16 gso_size; }; static inline void ipcm6_init(struct ipcm6_cookie *ipc6)