From 660d98cae0a474887bb5d66e60422addb4c6532c Mon Sep 17 00:00:00 2001 From: Cong Wang Date: Mon, 2 Sep 2013 10:06:52 +0800 Subject: [PATCH] vxlan: include net/ip6_checksum.h for csum_ipv6_magic() Fengguang reported a compile warning: drivers/net/vxlan.c: In function 'vxlan6_xmit_skb': drivers/net/vxlan.c:1352:3: error: implicit declaration of function 'csum_ipv6_magic' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors this patch fixes it. Reported-by: kbuild test robot Signed-off-by: Cong Wang Signed-off-by: David S. Miller --- drivers/net/vxlan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index 0fcf3f7..6b560f3 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net/vxlan.c @@ -44,6 +44,7 @@ #include #include #include +#include #endif #define VXLAN_VERSION "0.1" -- 2.7.4