hyperv: Report actual status in receive completion packet
authorHaiyang Zhang <haiyangz@microsoft.com>
Tue, 2 Oct 2012 05:30:23 +0000 (05:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Oct 2012 18:39:31 +0000 (14:39 -0400)
commit63f6921d300c6fbdca3d0e73dcc24b4e5e4dced2
tree5cd2560e12959f51574e0235bc1d9bdb81b30b98
parent6562640bd3b368a7ffb1caa61c82abe6e9d54b3b
hyperv: Report actual status in receive completion packet

The existing code always reports NVSP_STAT_SUCCESS. This patch adds the
mechanism to report failure when it happens.

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>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc.c
drivers/net/hyperv/netvsc_drv.c
drivers/net/hyperv/rndis_filter.c