ipv6: compile fix for ip6mr.c
authorDave Jones <davej@redhat.com>
Sat, 31 Jan 2009 08:51:49 +0000 (00:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Jan 2009 08:51:49 +0000 (00:51 -0800)
net/ipv6/ip6mr.c: In function 'pim6_rcv':
net/ipv6/ip6mr.c:368: error: implicit declaration of function 'csum_ipv6_magic'

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6mr.c

index d19a84b..228be55 100644 (file)
@@ -48,6 +48,7 @@
 #include <linux/pim.h>
 #include <net/addrconf.h>
 #include <linux/netfilter_ipv6.h>
+#include <net/ip6_checksum.h>
 
 /* Big lock, protecting vif table, mrt cache and mroute socket state.
    Note that the changes are semaphored via rtnl_lock.