projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03dafbb
)
[NETFILTER]: arp_tables: use XT_ALIGN
author
Patrick McHardy
<kaber@trash.net>
Tue, 18 Dec 2007 05:55:34 +0000
(21:55 -0800)
committer
David 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
patch
|
blob
|
history
diff --git
a/include/linux/netfilter_arp/arp_tables.h
b/include/linux/netfilter_arp/arp_tables.h
index e44811b9be6c3be487e8b9281a19c57d58b3edfe..7ade26b025a4764052cb4b6a9f9f353573a30f68 100644
(file)
--- 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 */