Hi Linus, With Linus' tree, today's linux-next build (powerpc allyesconfig) failed like this:
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' [-Werror=implicit-function-declaration]
csum_ipv6_magic(&nip6h->saddr, &nip6h->daddr,
^
Caused by commit 523b929d5446 ("netfilter: nft_reject_bridge: don't use
IP stack to reject traffic") from Linus' tree.
I applied the following patch for today:
From: Stephen Rothwell <[email protected]>
Date: Mon, 3 Nov 2014 15:01:16 +1100
Subject: [PATCH] netfilter: nft_reject_bridge: include ip6_checksum.h for
csum_ipv6_magic
Signed-off-by: Stephen Rothwell <[email protected]>
---
net/bridge/netfilter/nft_reject_bridge.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/bridge/netfilter/nft_reject_bridge.c
b/net/bridge/netfilter/nft_reject_bridge.c
index 654c9018e3e7..1123f2b4a1b1 100644
--- a/net/bridge/netfilter/nft_reject_bridge.c
+++ b/net/bridge/netfilter/nft_reject_bridge.c
@@ -16,6 +16,7 @@
#include <net/netfilter/nft_reject.h>
#include <net/netfilter/ipv4/nf_reject.h>
#include <net/netfilter/ipv6/nf_reject.h>
+#include <net/ip6_checksum.h>
#include <linux/ip.h>
#include <net/ip.h>
#include <linux/netfilter_bridge.h>
--
2.1.1
--
Cheers,
Stephen Rothwell [email protected]
pgpqcO0UVRSuG.pgp
Description: OpenPGP digital signature

