提交 0495cf95 编写于 作者: P Patrick McHardy 提交者: David S. Miller

[NETFILTER]: arp_tables: use XT_ALIGN

Signed-off-by: NPatrick McHardy <kaber@trash.net>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 03dafbbd
...@@ -280,6 +280,6 @@ extern unsigned int arpt_do_table(struct sk_buff *skb, ...@@ -280,6 +280,6 @@ extern unsigned int arpt_do_table(struct sk_buff *skb,
const struct net_device *out, const struct net_device *out,
struct arpt_table *table); 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 /*__KERNEL__*/
#endif /* _ARPTABLES_H */ #endif /* _ARPTABLES_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册