aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/netfilter_arp
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-12-17 21:55:34 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:58:44 -0800
commit0495cf957bfacbca123cb4c4e1c4cf0e265f522e (patch)
tree48bac4fd4f8f3b04674750e6590baa3d59c0d365 /include/linux/netfilter_arp
parent[NETFILTER]: arp_tables: remove obsolete standard_check function (diff)
downloadwireguard-linux-0495cf957bfacbca123cb4c4e1c4cf0e265f522e.tar.xz
wireguard-linux-0495cf957bfacbca123cb4c4e1c4cf0e265f522e.zip
[NETFILTER]: arp_tables: use XT_ALIGN
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netfilter_arp')
-rw-r--r--include/linux/netfilter_arp/arp_tables.h2
1 files changed, 1 insertions, 1 deletions
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 */