From: Haiyang Zhang Date: Thu, 29 Jan 2015 20:34:49 +0000 (-0800) Subject: hyperv: Fix the error processing in netvsc_send() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~184^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d953ca4ddf71aa91a4596b2ff7ff1598f6ad4708;p=pandora-kernel.git hyperv: Fix the error processing in netvsc_send() 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 Reviewed-by: K. Y. Srinivasan Signed-off-by: David S. Miller --- Reading git-diff-tree failed