aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHaiyang Zhang <haiyangz@microsoft.com>2015-01-29 12:34:49 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-26 17:49:02 -0800
commitd2ddce3df7c7e8bdabea6c2990589440cd50fa7d (patch)
treedbd1a20ac7baab68d3f0fd2fe5743dd2731b9386 /include
parent6743ca71e113f4a2b5ee58b060807974d4d33f8b (diff)
hyperv: Fix the error processing in netvsc_send()
[ Upstream commit d953ca4ddf71aa91a4596b2ff7ff1598f6ad4708 ] 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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions