summaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/netback.c
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@canonical.com>2013-11-25 17:52:34 +0100
committerDavid S. Miller <davem@davemloft.net>2013-11-29 00:38:06 +0100
commitae5e8127b712313ec1b99356019ce9226fea8b88 (patch)
treeb957a07f53d17dc3c08abfbafb5bb69ed46172cc /drivers/net/xen-netback/netback.c
parentsit: use kfree_skb to replace dev_kfree_skb (diff)
downloadlinux-ae5e8127b712313ec1b99356019ce9226fea8b88.tar.xz
linux-ae5e8127b712313ec1b99356019ce9226fea8b88.zip
xen-netback: include definition of csum_ipv6_magic
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>
Diffstat (limited to '')
-rw-r--r--drivers/net/xen-netback/netback.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c
index 919b6509455c..64f0e0d18b81 100644
--- a/drivers/net/xen-netback/netback.c
+++ b/drivers/net/xen-netback/netback.c
@@ -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>