On Fri, Feb 09, 2018 at 03:26:54PM +0100, Maxime Coquelin wrote:
> A deadlock happens when handling VHOST_USER_RESET_OWNER request
> for the same reason the lock is not taken for
> VHOST_USER_GET_VRING_BASE.
>
> It is safe not to take the lock, as the queues are no more used
> by the application when the virtqueues and the device are reset.
>
> Fixes: a3688046995f ("vhost: protect active rings from async ring changes")
> Cc: [email protected]
>
> Cc: Victor Kaplansky <[email protected]>
> Signed-off-by: Maxime Coquelin <[email protected]>
Reviewed-by: Tiwei Bie <[email protected]>
Thanks for the work!
Best regards,
Tiwei Bie