ipv6: Fix build error with udp_offload
authorVlad Yasevich <vyasevic@redhat.com>
Thu, 15 Nov 2012 16:35:37 +0000 (16:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Nov 2012 03:48:32 +0000 (22:48 -0500)
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 <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/udp_offload.c

index 8e01c44a987c75a628d0cc2b9a90f261c04721d7..0c8934a317c2f72ebdd9ada034812bbd8e261597 100644 (file)
@@ -13,6 +13,7 @@
 #include <net/protocol.h>
 #include <net/ipv6.h>
 #include <net/udp.h>
+#include <net/ip6_checksum.h>
 #include "ip6_offload.h"
 
 static int udp6_ufo_send_check(struct sk_buff *skb)