vhost: fix error path in vhost_net_set_backend
authorJeff Dike <jdike@addtoit.com>
Thu, 4 Mar 2010 21:10:14 +0000 (16:10 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 7 Mar 2010 11:28:53 +0000 (13:28 +0200)
An error could cause vhost_net_set_backend to exit without unlocking
vq->mutex. Fix this.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

No differences found