summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2016-10-12 00:03:07 +0300
committerDavid S. Miller <davem@davemloft.net>2016-10-13 17:48:17 +0300
commitad19bc8a95baee4588e9ec4481297d97c0bec765 (patch)
tree7fb1553108787c7b3d84ebb08d9bd85a781822a3 /lib/mpi/mpiutil.c
parentab102b80cef28c20b3ef7794806c3a982c6444fc (diff)
downloadlinux-ad19bc8a95baee4588e9ec4481297d97c0bec765.tar.xz
netvsc: fix checksum on UDP IPV6
The software calculation of UDP checksum in Netvsc driver was only handling IPv4 case. By using skb_checksum_help() instead all protocols can be handled. Rearrange code to eliminate goto and look like other drivers. This is a temporary solution; recent versions of Window Server etc do support UDP checksum offload, just need to do the appropriate negotiation with host to validate before using. This will be done in later patch. Please queue this for -stable as well. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions