netfilter: ipv6: using csum_ipv6_magic requires net/ip6_checksum.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Sep 2012 05:34:58 +0000 (15:34 +1000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Sep 2012 21:46:06 +0000 (17:46 -0400)
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>
net/ipv6/netfilter/nf_nat_l3proto_ipv6.c

index 81a2d1c3da8e88f5bf10ba77506b2cdc0014217b..abfe75a2e3167887531e5febe5f621ed03e37733 100644 (file)
@@ -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>