RE: [PATCH net-next,1/2] hv_netvsc: Fix the return status in RX path

2018-03-24 Thread Haiyang Zhang
em...@microsoft.com>; o...@aepfle.de; vkuzn...@redhat.com; > de...@linuxdriverproject.org; linux-ker...@vger.kernel.org > Subject: RE: [PATCH net-next,1/2] hv_netvsc: Fix the return status in RX path > > > -Original Message- > > From: linux-kernel-ow...@vger.k

RE: [PATCH net-next,1/2] hv_netvsc: Fix the return status in RX path

2018-03-24 Thread Michael Kelley (EOSG)
soft.com>; KY Srinivasan > <k...@microsoft.com>; Stephen > Hemminger <sthem...@microsoft.com>; o...@aepfle.de; vkuzn...@redhat.com; > de...@linuxdriverproject.org; linux-ker...@vger.kernel.org > Subject: [PATCH net-next,1/2] hv_netvsc: Fix the return status in

[PATCH net-next,1/2] hv_netvsc: Fix the return status in RX path

2018-03-22 Thread Haiyang Zhang
From: Haiyang Zhang 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