staging: hv: fix counting of #outstanding-sends in failed sends
authorHaiyang Zhang <haiyangz@microsoft.com>
Thu, 1 Sep 2011 19:19:44 +0000 (12:19 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Sep 2011 18:56:18 +0000 (11:56 -0700)
commit7db1d946c4db748b631fe4885110349cc259987f
treeb8c1fdaa05bd2ed11e915f8e250acde0f6e58e98
parent692e084e773b76c30a3e5d823db131ed1a15924a
staging: hv: fix counting of #outstanding-sends in failed sends

If the packet failed to be sent, we shouldn't count it as the
number of outstanding sends.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/netvsc.c