summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2012-09-05 15:34:58 +1000
committerDavid S. Miller <davem@davemloft.net>2012-09-05 17:46:06 -0400
commit2c9693222952b08c224093a1263cb5aee02d10ff (patch)
tree28b3b11452f9096f032c73a938ec08f42b753ed6
parent840f3000254d380934086ef0c0aefa78f80eee1e (diff)
downloadlinux-2c9693222952b08c224093a1263cb5aee02d10ff.tar.bz2
netfilter: ipv6: using csum_ipv6_magic requires net/ip6_checksum.h
Fixes this build error: net/ipv6/netfilter/nf_nat_l3proto_ipv6.c: In function 'nf_nat_ipv6_csum_recalc': net/ipv6/netfilter/nf_nat_l3proto_ipv6.c:144:4: error: implicit declaration of function 'csum_ipv6_magic' [-Werror=implicit-function-declaration] Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv6/netfilter/nf_nat_l3proto_ipv6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/netfilter/nf_nat_l3proto_ipv6.c b/net/ipv6/netfilter/nf_nat_l3proto_ipv6.c
index 81a2d1c3da8e..abfe75a2e316 100644
--- a/net/ipv6/netfilter/nf_nat_l3proto_ipv6.c
+++ b/net/ipv6/netfilter/nf_nat_l3proto_ipv6.c
@@ -15,6 +15,7 @@
#include <linux/netfilter_ipv6.h>
#include <net/secure_seq.h>
#include <net/checksum.h>
+#include <net/ip6_checksum.h>
#include <net/ip6_route.h>
#include <net/ipv6.h>