netvsc: Add #include's for csum_* function declarations
Subsystems (3)
PATCH 1/1 netvsc: Add #include's for csum_* function declarations
Add direct #include statements for declarations of csum_tcpudp_magic() and csum_ipv6_magic(). While the needed #include's are picked up indirectly for the x86 architecture, they aren't on other architectures, resulting in compile errors.
--- drivers/net/hyperv/netvsc_drv.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/hyperv/netvsc_drv.c +2 -0
@@ -37,6 +37,8 @@#include <net/route.h> #include <net/sock.h> #include <net/pkt_sched.h> +#include <asm/checksum.h> +#include <net/ip6_checksum.h> #include "hyperv_net.h"
Signature · 1 line
1.7.1
Quoted 4 lines · Michael Kelley
Add direct #include statements for declarations of
csum_tcpudp_magic()andcsum_ipv6_magic(). While the needed #include's are picked up indirectly for the x86 architecture, they aren't on other architectures, resulting in compile errors.
[]
drivers/net/hyperv/netvsc_drv.c line 40
Quoted 9 lines
drivers/net/hyperv/netvsc_drv.c +1
-0@@ -37,6 +37,8 @@#include <net/route.h> #include <net/sock.h> #include <net/pkt_sched.h> +#include <asm/checksum.h>
Maybe
#include <net/checksum.h>
instead?
Quoted 4 lines
drivers/net/hyperv/netvsc_drv.c +1
-0+#include <net/ip6_checksum.h> #include "hyperv_net.h"
From: Michael Kelley <[email protected]>
Date: Tue, 30 May 2017 10:43:04 -0700
Quoted 6 lines
Add direct #include statements for declarations of
csum_tcpudp_magic()andcsum_ipv6_magic(). While the needed #include's are picked up indirectly for the x86 architecture, they aren't on other architectures, resulting in compile errors.Signed-off-by Michael Kelley <[email protected]>
Applied, thank you.
Quoted 11 lines · David Miller
From: Michael Kelley <[email protected]>
Date: Tue, 30 May 2017 10:43:04 -0700Quoted 6 lines
Add direct #include statements for declarations of
csum_tcpudp_magic()andcsum_ipv6_magic(). While the needed #include's are picked up indirectly for the x86 architecture, they aren't on other architectures, resulting in compile errors.Signed-off-by Michael Kelley <[email protected]>Applied, thank you.
Did you apply this one or the v2?
David Miller
maintainerFrom: Joe Perches <[email protected]>
Date: Wed, 31 May 2017 15:59:31 -0700
Quoted 9 lines · David Miller
Quoted 8 lines
From: Michael Kelley <[email protected]>
Date: Tue, 30 May 2017 10:43:04 -0700Quoted 5 lines
Add direct #include statements for declarations of
csum_tcpudp_magic()andcsum_ipv6_magic(). While the needed #include's are picked up indirectly for the x86 architecture, they aren't on other architectures, resulting in compile errors.
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Michael Kelley <[email protected]>Applied, thank you.
Did you apply this one or the v2?
I got v2 which used net/checksum.h et al.