linux/drivers/net/hyperv
Haiyang Zhang 5c71dadbb4 hv_netvsc: Fix the return status in RX path
As defined in hyperv_net.h, the NVSP_STAT_SUCCESS is one not zero.
Some functions returns 0 when it actually means NVSP_STAT_SUCCESS.
This patch fixes them.

In netvsc_receive(), it puts the last RNDIS packet's receive status
for all packets in a vmxferpage which may contain multiple RNDIS
packets.
This patch puts NVSP_STAT_FAIL in the receive completion if one of
the packets in a vmxferpage fails.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-25 17:07:40 -04:00
..
hyperv_net.h hv_netvsc: common detach logic 2018-03-22 12:45:09 -04:00
Kconfig
Makefile hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
netvsc_drv.c hv_netvsc: Fix the return status in RX path 2018-03-25 17:07:40 -04:00
netvsc_trace.c hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
netvsc_trace.h hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
netvsc.c hv_netvsc: Fix the return status in RX path 2018-03-25 17:07:40 -04:00
rndis_filter.c hv_netvsc: Fix the return status in RX path 2018-03-25 17:07:40 -04:00