summaryrefslogtreecommitdiff
path: root/drivers/net/dummy.c
diff options
context:
space:
mode:
authorHaiyang Zhang <haiyangz@microsoft.com>2019-10-30 18:32:13 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-12 21:18:43 +0300
commit904e41c939f48a6ab38db3009ac3f59805e56a86 (patch)
treed06fe89bb8c5539c88afeedb7620405943dd91ce /drivers/net/dummy.c
parent15c1c15be2a8fd0ef005972adc9c2a7782a2f558 (diff)
downloadlinux-904e41c939f48a6ab38db3009ac3f59805e56a86.tar.xz
hv_netvsc: Fix error handling in netvsc_attach()
[ Upstream commit 719b85c336ed35565d0f3982269d6f684087bb00 ] 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: 7b2ee50c0cd5 ("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>
Diffstat (limited to 'drivers/net/dummy.c')
0 files changed, 0 insertions, 0 deletions