linux/drivers/net/hyperv
Haiyang Zhang 766e24b47f hyperv: Fix the total_data_buflen in send path
commit 942396b019 upstream.

total_data_buflen is used by netvsc_send() to decide if a packet can be put
into send buffer. It should also include the size of RNDIS message before the
Ethernet frame. Otherwise, a messge with total size bigger than send_section_size
may be copied into the send buffer, and cause data corruption.

[Request to include this patch to the Stable branches]

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
History 2014-11-05 16:42:03 +00:00
..
hyperv_net.h hyperv: Add hash value into RNDIS Per-packet info 2014-05-23 14:49:00 -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
netvsc.c hyperv: Fix a bug in netvsc_send() 2014-10-15 12:05:30 +02:00
netvsc_drv.c hyperv: Fix the total_data_buflen in send path 2014-11-05 16:42:03 +00:00
rndis_filter.c hyperv: Simplify the send_completion variables 2014-04-23 14:48:39 -04:00