diff options
author | Andy Whitcroft <apw@canonical.com> | 2013-11-25 20:52:34 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-29 03:38:06 +0400 |
commit | ae5e8127b712313ec1b99356019ce9226fea8b88 (patch) | |
tree | b957a07f53d17dc3c08abfbafb5bb69ed46172cc /drivers/net | |
parent | 66028310aedc782e3a9a221f1a9ec12b7e587e50 (diff) | |
download | linux-ae5e8127b712313ec1b99356019ce9226fea8b88.tar.xz |
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')
-rw-r--r-- | drivers/net/xen-netback/netback.c | 1 |
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> |