2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/drivers/net/hyperv
Haiyang Zhang f1ea3cd701 hyperv: Fix RNDIS send_completion code path
In some cases, the VM_PKT_COMP message can arrive later than RNDIS completion
message, which will free the packet memory. This may cause panic due to access
to freed memory in netvsc_send_completion().

This patch fixes this problem by removing rndis_filter_send_request_completion()
from the code path. The function was a no-op.

Reported-by: Long Li <longli@microsoft.com>
Tested-by: Long Li <longli@microsoft.com>
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>
2013-04-08 12:15:17 -04:00
..
hyperv_net.h net/hyperv: fix wrong length of mac address 2013-01-19 11:01:23 -05:00
Kconfig
Makefile
netvsc_drv.c hyperv: Fix a kernel warning from netvsc_linkstatus_callback() 2013-04-08 12:15:17 -04:00
netvsc.c hyperv: Fix RNDIS send_completion code path 2013-04-08 12:15:17 -04:00
rndis_filter.c hyperv: Fix RNDIS send_completion code path 2013-04-08 12:15:17 -04:00