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 in-flight getter
[ upstream commit 288cd1f8ca3ebaf20aeed92966da9020a5793852 ] 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: 0c0935c ("vhost: allow to check in-flight packets for async vhost") Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com> Acked-by: David Marchand <david.marchand@redhat.com>
- Loading branch information