xen-netback: include definition of csum_ipv6_magic
Subsystems (3)
PATCH 1/1 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,
--- drivers/net/xen-netback/netback.c | 1 + 1 file changed, 1 insertion(+)
Found while trying to couple latest kernels for arm64 platforms. Looks like it got missed in the transition.
-apw
drivers/net/xen-netback/netback.c +1 -0
@@ -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>
Signature · 1 line
1.8.3.2
Quoted 7 lines · Andy Whitcroft
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 <[email protected]>
Thanks!
Quoted 21 lines
--- drivers/net/xen-netback/netback.c | 1 + 1 file changed, 1 insertion(+)Found while trying to couple latest kernels for arm64 platforms. Looks like it got missed in the transition.
-apw
drivers/net/xen-netback/netback.c +1
-0@@ -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>
Quoted 7 lines · Andy Whitcroft
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 <[email protected]>
Thanks!
Quoted 21 lines
--- drivers/net/xen-netback/netback.c | 1 + 1 file changed, 1 insertion(+)Found while trying to couple latest kernels for arm64 platforms. Looks like it got missed in the transition.
-apw
drivers/net/xen-netback/netback.c +1
-0@@ -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>
From: Andy Whitcroft <[email protected]>
Date: Mon, 25 Nov 2013 16:52:34 +0000
Quoted 7 lines
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 <[email protected]>
Applied, thank you.
From: Andy Whitcroft <[email protected]>
Date: Mon, 25 Nov 2013 16:52:34 +0000
Quoted 7 lines
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 <[email protected]>
Applied, thank you.