xen-netfront: fix locking in connect error path
authorDavid Vrabel <david.vrabel@citrix.com>
Thu, 31 Jul 2014 16:38:22 +0000 (17:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Aug 2014 05:23:52 +0000 (22:23 -0700)
commitdb8c8ab61a28d7e3eb86d247b342a853263262c3
tree8977b64b3e31e9d8026519809d5f8678764fff4d
parent081e83a78db9b0ae1f5eabc2dedecc865f509b98
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>
drivers/net/xen-netfront.c