OpenCloudOS-Kernel/drivers/net/hyperv
KY Srinivasan af9893a3dc Drivers: net: hyperv: Address UDP checksum issues
ws2008r2 does not support UDP checksum offload. Thus, we cannnot turn on
UDP offload in the host. Also, on ws2012 and ws2012 r2, there appear to be
an issue with UDP checksum offload.
Fix this issue by computing the UDP checksum in the Hyper-V driver.

Based on Dave Miller's comments, in this version, I have COWed the skb
before modifying the UDP header (the checksum field).

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-04-11 15:15:12 -04:00
..
Kconfig staging: hv: move hv_netvsc out of staging area 2011-11-29 16:12:36 +09:00
Makefile staging: hv: move hv_netvsc out of staging area 2011-11-29 16:12:36 +09:00
hyperv_net.h Drivers: net: hyperv: Address UDP checksum issues 2014-04-11 15:15:12 -04:00
netvsc.c Drivers: net: hyperv: Negotiate suitable ndis version for offload support 2014-04-11 15:15:12 -04:00
netvsc_drv.c Drivers: net: hyperv: Address UDP checksum issues 2014-04-11 15:15:12 -04:00
rndis_filter.c Drivers: net: hyperv: Address UDP checksum issues 2014-04-11 15:15:12 -04:00