Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtqueue: fix invalidate wrong cache region
The current code fetches the vring index before invalidating the cache. This can lead to using an invalid index. Fetch the index before invalidation to ensure a correct index. Signed-off-by: Joshua Lin <jlin@petaio.com>
- Loading branch information