Commit 04ec5cfc authored by Richard Kennedy's avatar Richard Kennedy Committed by David S. Miller

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: default avatarRichard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 29ded5f7
...@@ -39,8 +39,6 @@ struct inet6_ifaddr ...@@ -39,8 +39,6 @@ struct inet6_ifaddr
__u32 valid_lft; __u32 valid_lft;
__u32 prefered_lft; __u32 prefered_lft;
unsigned long cstamp; /* created timestamp */
unsigned long tstamp; /* updated timestamp */
atomic_t refcnt; atomic_t refcnt;
spinlock_t lock; spinlock_t lock;
...@@ -49,6 +47,9 @@ struct inet6_ifaddr ...@@ -49,6 +47,9 @@ struct inet6_ifaddr
__u16 scope; __u16 scope;
unsigned long cstamp; /* created timestamp */
unsigned long tstamp; /* updated timestamp */
struct timer_list timer; struct timer_list timer;
struct inet6_dev *idev; struct inet6_dev *idev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment