Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vhost: fix lock on device readiness notification
[ upstream commit 7f31d4e ] The vhost notifies the application of device readiness via vhost_user_notify_queue_state(), but calling this function is not protected by the lock. This patch is to make this function call lock protected. Fixes: d0fcc38 ("vhost: improve device readiness notifications") Signed-off-by: Jiayu Hu <jiayu.hu@intel.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
- Loading branch information