OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aba5465
)
ipv6: shrink struct ipcm6_cookie
author
Eric Dumazet
<edumazet@google.com>
Mon, 15 Nov 2021 19:02:36 +0000
(11:02 -0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 16 Nov 2021 13:10:34 +0000
(13:10 +0000)
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>
include/net/ipv6.h
patch
|
blob
|
history
diff --git
a/include/net/ipv6.h
b/include/net/ipv6.h
index
c19bf51
..
53ac770
100644
(file)
--- 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)