summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2016-10-11 14:03:07 -0700
committerDavid S. Miller <davem@davemloft.net>2016-10-13 10:48:17 -0400
commitad19bc8a95baee4588e9ec4481297d97c0bec765 (patch)
tree7fb1553108787c7b3d84ebb08d9bd85a781822a3 /drivers/net/ethernet
parentab102b80cef28c20b3ef7794806c3a982c6444fc (diff)
downloadlwn-ad19bc8a95baee4588e9ec4481297d97c0bec765.tar.gz
lwn-ad19bc8a95baee4588e9ec4481297d97c0bec765.zip
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 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions