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 <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
aba546565b
Коммит
1b31debca8
|
@ -345,9 +345,9 @@ struct ipcm6_cookie {
|
||||||
struct sockcm_cookie sockc;
|
struct sockcm_cookie sockc;
|
||||||
__s16 hlimit;
|
__s16 hlimit;
|
||||||
__s16 tclass;
|
__s16 tclass;
|
||||||
|
__u16 gso_size;
|
||||||
__s8 dontfrag;
|
__s8 dontfrag;
|
||||||
struct ipv6_txoptions *opt;
|
struct ipv6_txoptions *opt;
|
||||||
__u16 gso_size;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline void ipcm6_init(struct ipcm6_cookie *ipc6)
|
static inline void ipcm6_init(struct ipcm6_cookie *ipc6)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче