[PATCH] netfilter: nft_reject_bridge: fix missing declaration of csum_ipv6_magic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit 523b929d544 (netfilter: nft_reject_bridge: don't use IP stack
to reject traffic) adds a use of csum_ipv6_magic but doesn't include
net/ip6_checksum.h. On architectures that don't define _HAVE_ARCH_IPV6_CSUM,
like ppc and s390x, we don't get the prototype declared and the build
fails.

Signed-off-by: Jeff Mahoney <jeffm@xxxxxxxx>
---
 net/bridge/netfilter/nft_reject_bridge.c |    1 +
 1 file changed, 1 insertion(+)

--- a/net/bridge/netfilter/nft_reject_bridge.c
+++ b/net/bridge/netfilter/nft_reject_bridge.c
@@ -18,6 +18,7 @@
 #include <net/netfilter/ipv6/nf_reject.h>
 #include <linux/ip.h>
 #include <net/ip.h>
+#include <net/ip6_checksum.h>
 #include <linux/netfilter_bridge.h>
 #include "../br_private.h"
 

-- 
Jeff Mahoney
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux