Commit 04ec5cfcfd9a69c16fc8adb9d7f4836eedb84e53
Committed by
David S. Miller
1 parent
29ded5f76c
Exists in
master
and in
7 other branches
ipv6: reorder struct inet6_ifaddr to remove padding on 64 bit builds
reorder struct inet6_ifaddr to remove padding on 64 bit builds remove 8 bytes of padding so inet6_ifaddr becomes 192 bytes & fits into a smaller slab. Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 1 changed file with 3 additions and 2 deletions Side-by-side Diff
include/net/if_inet6.h
... | ... | @@ -39,8 +39,6 @@ |
39 | 39 | |
40 | 40 | __u32 valid_lft; |
41 | 41 | __u32 prefered_lft; |
42 | - unsigned long cstamp; /* created timestamp */ | |
43 | - unsigned long tstamp; /* updated timestamp */ | |
44 | 42 | atomic_t refcnt; |
45 | 43 | spinlock_t lock; |
46 | 44 | |
... | ... | @@ -48,6 +46,9 @@ |
48 | 46 | __u8 flags; |
49 | 47 | |
50 | 48 | __u16 scope; |
49 | + | |
50 | + unsigned long cstamp; /* created timestamp */ | |
51 | + unsigned long tstamp; /* updated timestamp */ | |
51 | 52 | |
52 | 53 | struct timer_list timer; |
53 | 54 |