From d4d0d3557b4d6ee735fbec275803d637ee26b42d Mon Sep 17 00:00:00 2001 From: Vlad Yasevich Date: Thu, 15 Nov 2012 16:35:37 +0000 Subject: [PATCH] ipv6: Fix build error with udp_offload Add ip6_checksum.h include. This should resolve the following issue that shows up on power: net/ipv6/udp_offload.c: In function 'udp6_ufo_send_check': net/ipv6/udp_offload.c:29:2: error: implicit declaration of function 'csum_ipv6_magic' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors Signed-off-by: Vlad Yasevich Signed-off-by: David S. Miller --- net/ipv6/udp_offload.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/udp_offload.c b/net/ipv6/udp_offload.c index 8e01c44a987c..0c8934a317c2 100644 --- a/net/ipv6/udp_offload.c +++ b/net/ipv6/udp_offload.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "ip6_offload.h" static int udp6_ufo_send_check(struct sk_buff *skb)