Skip to content
Commit 1dace8c8 authored by Jeff Dike's avatar Jeff Dike Committed by Michael S. Tsirkin
Browse files

vhost: fix error path in vhost_net_set_backend



An error could cause vhost_net_set_backend to exit without unlocking
vq->mutex. Fix this.

Signed-off-by: default avatarJeff Dike <jdike@linux.intel.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 39286fa4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment