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
2022-02-22 13:10:39 +01:00
2021-10-01 15:31:47 +02:00
2022-03-14 11:41:52 +01:00
2021-08-17 08:37:52 +02:00
2022-02-22 13:10:39 +01:00
2022-03-15 02:13:57 +01:00
2022-06-02 12:04:11 +02:00
2022-02-27 19:06:59 +01:00
2022-02-22 14:47:41 +01:00
2022-06-01 16:51:53 +02:00
2022-02-27 18:58:47 +01:00
2022-06-02 13:38:26 +02:00
2022-06-01 16:26:34 +02:00
2022-02-22 13:10:39 +01:00
2022-02-22 13:10:39 +01:00
2022-03-09 00:14:55 +01:00
2022-03-07 20:31:14 +01:00
2022-02-22 13:10:39 +01:00
2021-10-24 13:37:43 +02:00
2022-05-19 10:00:51 -04: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-02-22 14:47:49 +01:00
2022-02-22 13:10:39 +01:00
2022-02-22 13:10:39 +01:00
2022-06-03 11:22:31 +02:00
2022-06-01 11:15:37 +02:00
2022-02-22 13:10:39 +01:00
2022-02-22 13:10:39 +01: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-06-01 16:39:25 +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-06-04 22:39:49 +02:00
2022-02-22 13:10:39 +01:00
2022-02-22 13:10:39 +01:00
2022-03-08 15:22:33 +01: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 08:58:27 +02:00
2022-04-28 09:26:48 +02:00
2022-02-22 13:10:39 +01:00
2022-06-01 15:04:46 +02:00
2022-02-22 14:47:49 +01:00
2022-02-22 13:10:39 +01:00
2022-06-01 11:50:09 +02:00
2022-02-22 14:47:49 +01:00