Skip to content

Commit

Permalink
udp: reorder udp_iter_state to remove padding on 64bit builds
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Kennedy authored and David S. Miller committed Jun 13, 2008
1 parent 030352a commit 875ec43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/udp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 875ec43

Please sign in to comment.