xen-netback: include definition of csum_ipv6_magic
authorAndy Whitcroft <apw@canonical.com>
Mon, 25 Nov 2013 16:52:34 +0000 (16:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Nov 2013 23:38:06 +0000 (18:38 -0500)
We are now using csum_ipv6_magic, include the appropriate header.
Avoids the following error:

    drivers/net/xen-netback/netback.c:1313:4: error: implicit declaration of function 'csum_ipv6_magic' [-Werror=implicit-function-declaration]
        tcph->check = ~csum_ipv6_magic(&ipv6h->saddr,

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/netback.c

index 919b6509455cfbaf45ba63c7d8b378fa13a8e758..64f0e0d18b8188c1729f525e26a2ca8b88724d8f 100644 (file)
@@ -39,6 +39,7 @@
 #include <linux/udp.h>
 
 #include <net/tcp.h>
+#include <net/ip6_checksum.h>
 
 #include <xen/xen.h>
 #include <xen/events.h>