net/netvsc: detach external buffer on failure
authorLong Li <longli@microsoft.com>
Wed, 24 Jun 2020 01:11:46 +0000 (18:11 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:53 +0000 (06:18 +0200)
commit5ff00cf988ab6f2888239d090b7e982c6af8c6c7
treee8165e88a9d600ec03fdb98c3658888413e6ed0f
parentd43b8c710836db953fad1bb6449a827e19b5a87a
net/netvsc: detach external buffer on failure

When external buffer is used, driver should detach it if it doesn't make
it successfully to the queue.

Signed-off-by: Long Li <longli@microsoft.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/netvsc/hn_rxtx.c