Skip to contentSkip to conversation

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

PATCH In review Sachin P. Sant 2 participants 2 messages Jan 31, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

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

---

* Fix ip6mr build break (undefined csum_ipv6_magic symbol)

---

net/ipv6/ip6mr.c +1 -0
diff -Naurp a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c
@@ -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>