Skip to content

Commit 1b31deb

Browse files
edumazetdavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent aba5465 commit 1b31deb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/net/ipv6.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,9 +345,9 @@ struct ipcm6_cookie {
345345
struct sockcm_cookie sockc;
346346
__s16 hlimit;
347347
__s16 tclass;
348+
__u16 gso_size;
348349
__s8 dontfrag;
349350
struct ipv6_txoptions *opt;
350-
__u16 gso_size;
351351
};
352352

353353
static inline void ipcm6_init(struct ipcm6_cookie *ipc6)

0 commit comments

Comments
 (0)