IPVS: include net/ip6_checksum.h for csum_ipv6_magic
authorStephen Rothwell <sfr@canb.auug.org.au>
Sun, 29 Aug 2010 17:04:53 +0000 (17:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Aug 2010 04:15:26 +0000 (21:15 -0700)
Fixes this build error:

net/netfilter/ipvs/ip_vs_core.c: In function 'ip_vs_nat_icmp_v6':
net/netfilter/ipvs/ip_vs_core.c:640: error: implicit declaration of function 'csum_ipv6_magic'

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/ipvs/ip_vs_core.c

index 69661db420d7270b82f9da824bad59d9f7054102..edbfb96b935eea0a2d1019504fb792d4bd439377 100644 (file)
@@ -40,6 +40,7 @@
 #include <net/udp.h>
 #include <net/icmp.h>                   /* for icmp_send */
 #include <net/route.h>
+#include <net/ip6_checksum.h>
 
 #include <linux/netfilter.h>
 #include <linux/netfilter_ipv4.h>