From: Stephen Rothwell Date: Wed, 5 Sep 2012 05:34:58 +0000 (+1000) Subject: netfilter: ipv6: using csum_ipv6_magic requires net/ip6_checksum.h X-Git-Tag: MMI-PSA29.97-13-9~15870^2~210 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2c9693222952b08c224093a1263cb5aee02d10ff;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: David S. Miller --- 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 #include #include +#include #include #include