summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2014-11-02 18:19:15 -0800
committerDavid S. Miller <davem@davemloft.net>2014-11-03 12:12:34 -0500
commitc1207c049b204b0a96535dc5416aee331b51e0e1 (patch)
treeed5730666c148c90942fc2b92a7d08c8b1a50666 /net
parentd52fdbb735c36a209f36a628d40ca9185b349ba7 (diff)
downloadop-kernel-dev-c1207c049b204b0a96535dc5416aee331b51e0e1.zip
op-kernel-dev-c1207c049b204b0a96535dc5416aee331b51e0e1.tar.gz
netfilter: nft_reject_bridge: Fix powerpc build error
Fix: net/bridge/netfilter/nft_reject_bridge.c: In function 'nft_reject_br_send_v6_unreach': net/bridge/netfilter/nft_reject_bridge.c:240:3: error: implicit declaration of function 'csum_ipv6_magic' csum_ipv6_magic(&nip6h->saddr, &nip6h->daddr, ^ make[3]: *** [net/bridge/netfilter/nft_reject_bridge.o] Error 1 Seen with powerpc:allmodconfig. Fixes: 523b929d5446 ("netfilter: nft_reject_bridge: don't use IP stack to reject traffic") Cc: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/bridge/netfilter/nft_reject_bridge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/netfilter/nft_reject_bridge.c b/net/bridge/netfilter/nft_reject_bridge.c
index 654c901..48da2c5 100644
--- 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"
OpenPOWER on IntegriCloud