Skip to content

Commit

Permalink
netvsc: Add #include's for csum_* function declarations
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
kelleymh authored and davem330 committed May 31, 2017
1 parent 8c6c918 commit 8eb1b3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/hyperv/netvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 8eb1b3c

Please sign in to comment.