projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
081e83a
)
xen-netfront: fix locking in connect error path
author
David Vrabel
<david.vrabel@citrix.com>
Thu, 31 Jul 2014 16:38:22 +0000
(17:38 +0100)
committer
David S. Miller
<davem@davemloft.net>
Fri, 1 Aug 2014 05:23:52 +0000
(22:23 -0700)
If no queues could be created when connecting to the backend, one of the
error paths would deadlock.
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netfront.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/xen-netfront.c
b/drivers/net/xen-netfront.c
index 055222bae6e4463d00835c894e0d606ea91ddc6f..1cc46d00d20ad4339e8cb4e8d3d4515576a28fd1 100644
(file)
--- a/
drivers/net/xen-netfront.c
+++ b/
drivers/net/xen-netfront.c
@@
-2001,7
+2001,7
@@
abort_transaction_no_dev_fatal:
info->queues = NULL;
rtnl_lock();
netif_set_real_num_tx_queues(info->netdev, 0);
- rtnl_lock();
+ rtnl_
un
lock();
out:
return err;
}