linux-uconsole/drivers/net/hyperv
Haiyang Zhang e66f52eb3f hv_netvsc: Fix error handling in netvsc_attach()
[ Upstream commit 719b85c336 ]

If rndis_filter_open() fails, we need to remove the rndis device created
in earlier steps, before returning an error code. Otherwise, the retry of
netvsc_attach() from its callers will fail and hang.

Fixes: 7b2ee50c0c ("hv_netvsc: common detach logic")
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-12 19:21:15 +01:00
..
hyperv_net.h hv_netvsc: Fix unwanted wakeup after tx_disable 2019-04-17 08:38:39 +02:00
Kconfig hv_netvsc: drop common code until callback model fixed 2018-06-12 15:22:28 -07:00
Makefile hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
netvsc.c hv_netvsc: fix race that may miss tx queue wakeup 2019-05-31 06:46:09 -07:00
netvsc_drv.c hv_netvsc: Fix error handling in netvsc_attach() 2019-11-12 19:21:15 +01:00
netvsc_trace.c hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
netvsc_trace.h hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
rndis_filter.c hv_netvsc: Fix hash key value reset after other ops 2019-03-05 17:58:51 +01:00