On Fri, May 14, 2021 at 6:02 PM Balazs Nemeth <bnem...@redhat.com> wrote:
>
> The optimization introduced by commit d18db8049c7c ("vhost: read last
> used index once") didn't account for the fact that
> vhost_flush_enqueue_shadow_packed increments the last_used_idx. For this
> reason, store last_used_idx after the potential call to
> vhost_flush_enqueue_shadow_packed.
>

Bugzilla ID: 699
> Fixes: d18db8049c7c ("vhost: read last used index once")

> Signed-off-by: Balazs Nemeth <bnem...@redhat.com>
Reviewed-by: David Marchand <david.march...@redhat.com>


-- 
David Marchand

Reply via email to