aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@canonical.com>2013-11-25 16:52:34 +0000
committerDavid S. Miller <davem@davemloft.net>2013-11-28 18:38:06 -0500
commitae5e8127b712313ec1b99356019ce9226fea8b88 (patch)
treeb957a07f53d17dc3c08abfbafb5bb69ed46172cc /drivers/net/xen-netback
parentsit: use kfree_skb to replace dev_kfree_skb (diff)
downloadlinux-dev-ae5e8127b712313ec1b99356019ce9226fea8b88.tar.xz
linux-dev-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 'drivers/net/xen-netback')
-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>