mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 01:50:54 +07:00
xen-netfront: fix locking in connect error path
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>
This commit is contained in:
parent
081e83a78d
commit
db8c8ab61a
@ -2001,7 +2001,7 @@ static int talk_to_netback(struct xenbus_device *dev,
|
||||
info->queues = NULL;
|
||||
rtnl_lock();
|
||||
netif_set_real_num_tx_queues(info->netdev, 0);
|
||||
rtnl_lock();
|
||||
rtnl_unlock();
|
||||
out:
|
||||
return err;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user