* [Bridge] [PATCH] netfilter: nft_reject_bridge: Fix powerpc build error
@ 2014-11-03 2:50 Guenter Roeck
2014-11-03 4:17 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2014-11-03 2:50 UTC (permalink / raw)
To: Patrick McHardy
Cc: netdev, bridge, coreteam, netfilter-devel, Pablo Neira Ayuso,
David S. Miller, Guenter Roeck
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>
---
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 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"
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Bridge] [PATCH] netfilter: nft_reject_bridge: Fix powerpc build error
2014-11-03 2:50 [Bridge] [PATCH] netfilter: nft_reject_bridge: Fix powerpc build error Guenter Roeck
@ 2014-11-03 4:17 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-11-03 4:17 UTC (permalink / raw)
To: linux; +Cc: netdev, bridge, stephen, coreteam, netfilter-devel, kaber, pablo
From: Guenter Roeck <linux@roeck-us.net>
Date: Sun, 2 Nov 2014 18:19:15 -0800
> 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>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-03 4:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-03 2:50 [Bridge] [PATCH] netfilter: nft_reject_bridge: Fix powerpc build error Guenter Roeck
2014-11-03 4:17 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).