[PATCH v3] vhost: fix deadlock when message handling failed

David Marchand david.marchand at redhat.com
Tue May 17 15:15:03 CEST 2022


On Sat, May 7, 2022 at 7:30 AM Wenwu Ma <wenwux.ma at intel.com> wrote:
>
> In vhost_user_msg_handler(), if vhost message handling
> failed, we should check whether the queue is locked and
> release the lock before returning. Or, it will cause a
> deadlock later.
>
> Fixes: 7f31d4ea05ca ("vhost: fix lock on device readiness notification")
> Cc: stable at dpdk.org
>
> Signed-off-by: Wenwu Ma <wenwux.ma at intel.com>

Thanks, lgtm.
Acked-by: David Marchand <david.marchand at redhat.com>


-- 
David Marchand



More information about the stable mailing list