Re: locking issue in vhost_net_set_backend

From: Jiri Slaby
Date: Tue Mar 16 2010 - 10:02:01 EST


On 03/16/2010 02:58 PM, Jiri Slaby wrote:
I don't see how the lock is unlocked on the error paths and as it is not
on none of the them maybe I'm missing something?

And there is one more issue in vhost_set_vring, several returns from VHOST_SET_VRING_KICK, VHOST_SET_VRING_CALL, VHOST_SET_VRING_ERR with the vq->mutex held.

--
js
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/