[NETFILTER]: arp_tables: use XT_ALIGN
authorPatrick McHardy <kaber@trash.net>
Tue, 18 Dec 2007 05:55:34 +0000 (21:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:58:44 +0000 (14:58 -0800)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter_arp/arp_tables.h

index e44811b9be6c3be487e8b9281a19c57d58b3edfe..7ade26b025a4764052cb4b6a9f9f353573a30f68 100644 (file)
@@ -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 */