Skip to content

Commit 8eb1b3c

Browse files
kelleymhdavem330
authored andcommitted
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. Signed-off-by: Michael Kelley <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 8c6c918 commit 8eb1b3c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/hyperv/netvsc_drv.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
#include <net/route.h>
3838
#include <net/sock.h>
3939
#include <net/pkt_sched.h>
40+
#include <net/checksum.h>
41+
#include <net/ip6_checksum.h>
4042

4143
#include "hyperv_net.h"
4244

0 commit comments

Comments
 (0)