aboutsummaryrefslogtreecommitdiffstats
path: root/net/rxrpc
diff options
context:
space:
mode:
authorHaiyang Zhang <haiyangz@microsoft.com>2019-10-30 15:32:13 +0000
committerDavid S. Miller <davem@davemloft.net>2019-10-30 18:17:36 -0700
commit719b85c336ed35565d0f3982269d6f684087bb00 (patch)
treef08ae7bc835932ecc0392bb56b16af8663ecde00 /net/rxrpc
parenthv_netvsc: Fix error handling in netvsc_set_features() (diff)
downloadlinux-dev-719b85c336ed35565d0f3982269d6f684087bb00.tar.xz
linux-dev-719b85c336ed35565d0f3982269d6f684087bb00.zip
hv_netvsc: Fix error handling in netvsc_attach()
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions