From: Haiyang Zhang Date: Thu, 1 Sep 2011 19:19:45 +0000 (-0700) Subject: staging: hv: fix counting of available buffer slots when send fails X-Git-Tag: v3.2-rc1~169^2^2~758 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a5f9edc4dd6c1f9fb2446a36e7cd44b79412271;p=pandora-kernel.git staging: hv: fix counting of available buffer slots when send fails Because the number of available buffer slots doesn't decrease for failed sends, we should not call netvsc_xmit_completion(), which increase the count of available slots. In this failed case, just free the memory is enough. Signed-off-by: Haiyang Zhang Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed