aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2012-09-05 01:34:58 -0400
committerDavid S. Miller <davem@davemloft.net>2012-09-05 17:46:06 -0400
commit2c9693222952b08c224093a1263cb5aee02d10ff (patch)
tree28b3b11452f9096f032c73a938ec08f42b753ed6 /net/ipv6
parent840f3000254d380934086ef0c0aefa78f80eee1e (diff)
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>
Diffstat (limited to 'net/ipv6')
-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 @@
15#include <linux/netfilter_ipv6.h> 15#include <linux/netfilter_ipv6.h>
16#include <net/secure_seq.h> 16#include <net/secure_seq.h>
17#include <net/checksum.h> 17#include <net/checksum.h>
18#include <net/ip6_checksum.h>
18#include <net/ip6_route.h> 19#include <net/ip6_route.h>
19#include <net/ipv6.h> 20#include <net/ipv6.h>
20 21