linux/drivers/net/hyperv
Haiyang Zhang d2ddce3df7 hyperv: Fix the error processing in netvsc_send()
[ Upstream commit d953ca4ddf ]

The existing code frees the skb in EAGAIN case, in which the skb will be
retried from upper layer and used again.
Also, the existing code doesn't free send buffer slot in error case, because
there is no completion message for unsent packets.
This patch fixes these problems.

(Please also include this patch for stable trees. Thanks!)

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2015-02-26 17:49:02 -08:00
..
hyperv_net.h hyperv: Increase the buffer length for netvsc_channel_cb() 2014-08-22 12:23:09 -07: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 the error processing in netvsc_send() 2015-02-26 17:49:02 -08:00
netvsc_drv.c hyperv: Fix the total_data_buflen in send path 2014-10-22 17:58:50 -04:00
rndis_filter.c hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event 2014-06-19 21:17:37 -07:00