Commit 875ec433 authored by Richard Kennedy's avatar Richard Kennedy Committed by David S. Miller

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: default avatarRichard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 030352a9
...@@ -196,8 +196,8 @@ struct udp_seq_afinfo { ...@@ -196,8 +196,8 @@ struct udp_seq_afinfo {
struct udp_iter_state { struct udp_iter_state {
struct seq_net_private p; struct seq_net_private p;
sa_family_t family; sa_family_t family;
struct hlist_head *hashtable;
int bucket; int bucket;
struct hlist_head *hashtable;
}; };
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
......
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