[Patch] 2.6.29-rc3-git2 - Fix net/ipv6/ip6mr.o build break
From: Sachin P. Sant
Date: Sat Jan 31 2009 - 01:29:47 EST
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@xxxxxxxxxx>
---
* Fix ip6mr build break (undefined csum_ipv6_magic symbol)
Signed-off-by : Sachin Sant (sachinp@xxxxxxxxxx)
---
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>