From: Patrick McHardy Date: Tue, 18 Dec 2007 05:55:34 +0000 (-0800) Subject: [NETFILTER]: arp_tables: use XT_ALIGN X-Git-Tag: v2.6.25-rc1~1162^2~1029 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=0495cf957bfacbca123cb4c4e1c4cf0e265f522e;p=~emulex%2Finfiniband.git [NETFILTER]: arp_tables: use XT_ALIGN Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- diff --git a/include/linux/netfilter_arp/arp_tables.h b/include/linux/netfilter_arp/arp_tables.h index e44811b9be6..7ade26b025a 100644 --- a/include/linux/netfilter_arp/arp_tables.h +++ b/include/linux/netfilter_arp/arp_tables.h @@ -280,6 +280,6 @@ extern unsigned int arpt_do_table(struct sk_buff *skb, const struct net_device *out, struct arpt_table *table); -#define ARPT_ALIGN(s) (((s) + (__alignof__(struct arpt_entry)-1)) & ~(__alignof__(struct arpt_entry)-1)) +#define ARPT_ALIGN(s) XT_ALIGN(s) #endif /*__KERNEL__*/ #endif /* _ARPTABLES_H */