From: Eric Dumazet Date: Mon, 15 Nov 2021 19:02:36 +0000 (-0800) Subject: ipv6: shrink struct ipcm6_cookie X-Git-Tag: baikal/aarch64/sdk6.1~4966^2~443^2~13 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=1dd4dc49467ce9b1727e917c4970e62c633a4702;p=kernel.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)