Wenwu Ma 9e89b06d02 vhost: fix deadlock when message handling failed
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@dpdk.org

Signed-off-by: Wenwu Ma <wenwux.ma@intel.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
Tested-by: Wei Ling <weix.ling@intel.com>
Acked-by: David Marchand <david.marchand@redhat.com>
2022-06-01 11:50:09 +02:00
..
2022-05-30 23:30:33 +02:00
2021-08-17 08:37:52 +02:00
2022-02-22 14:47:41 +01:00
2022-02-27 18:58:47 +01:00
2022-02-22 13:10:39 +01:00
2022-02-22 13:10:39 +01:00
2021-10-24 13:37:43 +02:00
2022-02-22 14:47:49 +01:00
2022-06-03 11:22:31 +02:00
2022-06-01 11:15:37 +02:00
2021-08-17 08:37:52 +02:00
2022-02-22 14:47:49 +01:00
2022-06-01 08:58:27 +02:00
2022-02-22 13:10:39 +01:00
2022-02-22 13:10:39 +01:00
2022-06-01 16:01:37 +02:00
2022-06-01 15:04:34 +02:00
2022-02-22 13:10:39 +01:00
2022-06-01 10:58:12 +02:00
2022-02-22 13:10:39 +01:00
2022-06-01 15:04:46 +02:00