-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalidate the ring region but use non initialize ring index #338
Comments
I suppose that you are spekking about this lines which should be inverted?
Yes that seem to me something no safe if we are at the limit of 2 cache blocks. |
Yes, this must be fixed. The problem is that when we are using Thank you for spotting this. Let me know if you are going to open a PR or whether I should do it. |
Hi Carlocaione, I can send a PR. Thanks, |
Hi,
There have some question about use non initialized variable.
At the virtqueue_get_available_buffer(). In order to get latest avail index. So invalidate the head ring region. But the head index is getting after invalidate the head ring region. It may cause that wrong region will be invalidate.
The same issue is also happen in virtqueue_get_desc_size().
BR,
Joshua
The text was updated successfully, but these errors were encountered: