Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vhost: fix check on virtqueue access in async registration
[ upstream commit 867d31bed41c87510e860956ee6a67c047d98f87 ] Acquiring the access lock is not enough to ensure virtqueue's metadata such as vring pointers are valid. The access status must also be checked. Fixes: 78639d5 ("vhost: introduce async enqueue registration API") Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com> Acked-by: David Marchand <david.marchand@redhat.com>
- Loading branch information