Skip to contentSkip to conversation

xen-netback: include definition of csum_ipv6_magic

PATCH Applied Andy Whitcroft 3 participants 5 messages Nov 25, 2013 – Nov 28, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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
index 919b650..64f0e0d 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
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,

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
index 919b650..64f0e0d 100644
@@ -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>
Acked-by on v1 1/1
#2 lore raw
In reply to Andy Whitcroft
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,

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
index 919b650..64f0e0d 100644
@@ -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>
maintainer Applied
#3 lore raw
In reply to Andy Whitcroft

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,

Applied, thank you.

maintainer Applied
#4 lore raw
In reply to Andy Whitcroft

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,

Applied, thank you.