From: Richard Kennedy Date: Fri, 13 Jun 2008 10:03:17 +0000 (-0700) Subject: udp: reorder udp_iter_state to remove padding on 64bit builds X-Git-Tag: v2.6.27-rc1~969^2~327 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=875ec4333b99144e2589e900a0bcd2c25c757b27;p=linux-2.6 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 Signed-off-by: David S. Miller --- diff --git a/include/net/udp.h b/include/net/udp.h index ccce837070..7a86848552 100644 --- a/include/net/udp.h +++ b/include/net/udp.h @@ -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