diff mbox

2.6.29-rc3-git2 - Fix net/ipv6/ip6mr.o build break

Message ID 4983EEE3.3080208@in.ibm.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Sachin P. Sant Jan. 31, 2009, 6:25 a.m. UTC
allmodconfig build breaks with following error.

 CHK     include/linux/version.h
 CHK     include/linux/utsrelease.h
 SYMLINK include/asm -> include/asm-powerpc
 CALL    scripts/checksyscalls.sh
 CHK     include/linux/compile.h
 CALL    arch/powerpc/kernel/systbl_chk.sh
 CALL    arch/powerpc/kernel/prom_init_check.sh
 CC [M]  net/ipv6/ip6mr.o
net/ipv6/ip6mr.c: In function pim6_rcv:
net/ipv6/ip6mr.c:366: error: implicit declaration of function csum_ipv6_magic
make[2]: *** [net/ipv6/ip6mr.o] Error 1
make[1]: *** [net/ipv6] Error 2
make: *** [net] Error 2

Following patch fixes this issue.

thanks
-Sachin


Signed-off-by : Sachin Sant <sachinp@in.ibm.com>
---

Comments

David Miller Jan. 31, 2009, 8:50 a.m. UTC | #1
Thanks for the report, Dave Jones already posted this fix
(CC:'d to the correct location, netdev@vger.kernel.org)
diff mbox

Patch

* Fix ip6mr build break (undefined csum_ipv6_magic symbol)

Signed-off-by : Sachin Sant (sachinp@in.ibm.com)
---

diff -Naurp a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c
--- a/net/ipv6/ip6mr.c	2009-01-31 13:58:00.000000000 +0530
+++ b/net/ipv6/ip6mr.c	2009-01-31 13:59:16.000000000 +0530
@@ -43,6 +43,7 @@ 
 #include <net/netlink.h>
 
 #include <net/ipv6.h>
+#include <net/ip6_checksum.h>
 #include <net/ip6_route.h>
 #include <linux/mroute6.h>
 #include <linux/pim.h>