linux/drivers/net/hyperv
Haiyang Zhang 390d17c7d3 hyperv: Fix the error processing in netvsc_send()
commit d953ca4ddf upstream.

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: Luis Henriques <luis.henriques@canonical.com>
History 2015-02-10 13:38:51 +00:00
..
hyperv_net.h hyperv: Add hash value into RNDIS Per-packet info 2014-05-23 14:49:00 -04: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-10 13:38:51 +00:00
netvsc_drv.c hyperv: Fix the total_data_buflen in send path 2014-11-05 16:42:03 +00:00
rndis_filter.c hyperv: Simplify the send_completion variables 2014-04-23 14:48:39 -04:00