From: Patrick McHardy Date: Tue, 18 Dec 2007 05:55:34 +0000 (-0800) Subject: [NETFILTER]: arp_tables: use XT_ALIGN X-Git-Tag: firefly_0821_release~23655^2~1029 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0495cf957bfacbca123cb4c4e1c4cf0e265f522e;p=firefly-linux-kernel-4.4.55.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 e44811b9be6c..7ade26b025a4 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 */