udp: reorder udp_iter_state to remove padding on 64bit builds
authorRichard Kennedy <richard@rsk.demon.co.uk>
Fri, 13 Jun 2008 10:03:17 +0000 (03:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Jun 2008 10:03:17 +0000 (03:03 -0700)
reorder udp_iter_state to remove padding on 64bit builds

shrinks from 24 to 16 bytes, moving to a smaller slab when
CONFIG_NET_NS is undefined & seq_net_private = {}

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/udp.h

index ccce83707046ca85dd0a1d20c2c2e937342fd270..7a8684855245b0ad755737965183055e8e2d5f52 100644 (file)
@@ -196,8 +196,8 @@ struct udp_seq_afinfo {
 struct udp_iter_state {
        struct seq_net_private  p;
        sa_family_t             family;
-       struct hlist_head       *hashtable;
        int                     bucket;
+       struct hlist_head       *hashtable;
 };
 
 #ifdef CONFIG_PROC_FS