Commit 326fc46
committed
fix(balloon): make duplicate stats buffer visible to guest
When a non-compliant driver submits more than one stats buffer,
process_stats_queue returns the previous descriptor via add_used but
never calls advance_used_ring_idx or signal_used_queue. The write to the
used ring is therefore invisible to the guest, which can never reclaim
the buffer.
Add the missing advance_used_ring_idx and signal_used_queue calls so the
guest actually sees the returned descriptor.
Signed-off-by: Nikita Kalyazin <kalyazin@amazon.com>1 parent ed96b50 commit 326fc46
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| 501 | + | |
| 502 | + | |
501 | 503 | | |
502 | 504 | | |
503 | 505 | | |
| |||
0 commit comments