diff mbox

compile fix for ip6mr.c

Message ID 20090131023357.GA16406@redhat.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Dave Jones Jan. 31, 2009, 2:33 a.m. UTC
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>

Comments

David Miller Jan. 31, 2009, 8:51 a.m. UTC | #1
From: Dave Jones <davej@redhat.com>
Date: Fri, 30 Jan 2009 21:33:57 -0500

> 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>

Applied, thanks a lot Dave.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- linux-2.6.28.noarch/net/ipv6/ip6mr.c~	2009-01-30 21:32:19.000000000 -0500
+++ linux-2.6.28.noarch/net/ipv6/ip6mr.c	2009-01-30 21:32:29.000000000 -0500
@@ -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.