kernel/drivers/virtio/virtio_ring.c
.. .. @@ -1190,7 +1190,7 @@ 1190 1190 } 1191 1191 } 1192 1192 1193 - if (i < head)1193 + if (i <= head)1194 1194 vq->packed.avail_wrap_counter ^= 1; 1195 1195 1196 1196 /* We're using some buffers from the free list. */