netvsc: Add #include's for csum_* function declarations
authorMichael Kelley <mikelley@microsoft.com>
Tue, 30 May 2017 18:36:56 +0000 (11:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 May 2017 17:59:03 +0000 (13:59 -0400)
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 <mikelley@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c

index 4421a6d0037579bbff80ee909d42510947f77690..2564ac83eb64f70f6d7da6c8d666ea8cb3cbed2b 100644 (file)
@@ -37,6 +37,8 @@
 #include <net/route.h>
 #include <net/sock.h>
 #include <net/pkt_sched.h>
+#include <net/checksum.h>
+#include <net/ip6_checksum.h>
 
 #include "hyperv_net.h"