diff options
author | Richard Kennedy <richard@rsk.demon.co.uk> | 2008-06-13 06:03:17 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-13 06:03:17 -0400 |
commit | 875ec4333b99144e2589e900a0bcd2c25c757b27 (patch) | |
tree | 297eab84fbe526c13d20d79e126825ce509cb06e /include/net/udp.h | |
parent | 030352a9c7715780b2c01033ae9afe56249bb7cc (diff) |
udp: reorder udp_iter_state to remove padding on 64bit builds
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>
Diffstat (limited to 'include/net/udp.h')
-rw-r--r-- | include/net/udp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/udp.h b/include/net/udp.h index ccce83707046..7a8684855245 100644 --- a/include/net/udp.h +++ b/include/net/udp.h | |||
@@ -196,8 +196,8 @@ struct udp_seq_afinfo { | |||
196 | struct udp_iter_state { | 196 | struct udp_iter_state { |
197 | struct seq_net_private p; | 197 | struct seq_net_private p; |
198 | sa_family_t family; | 198 | sa_family_t family; |
199 | struct hlist_head *hashtable; | ||
200 | int bucket; | 199 | int bucket; |
200 | struct hlist_head *hashtable; | ||
201 | }; | 201 | }; |
202 | 202 | ||
203 | #ifdef CONFIG_PROC_FS | 203 | #ifdef CONFIG_PROC_FS |