[PATCH v2 1/4] vhost: fix missing packets count reset when not ready
David Marchand
david.marchand at redhat.com
Wed Jan 15 17:41:17 CET 2025
On Wed, Jan 15, 2025 at 1:59 PM Maxime Coquelin
<maxime.coquelin at redhat.com> wrote:
>
> This patch fixes the rte_vhost_dequeue_burst return value
> when the virtqueue is not ready. Without it, a discrepancy
> between the packet array and its size is faced by the caller
> of this API when the virtqueue is not ready.
>
> Fixes: 9fc93a1e2320 ("vhost: fix virtqueue access check in datapath")
> Cc: stable at dpdk.org
>
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Good catch!
I am surprised no one caught the issue earlier.
Reviewed-by: David Marchand <david.marchand at redhat.com>
--
David Marchand
More information about the dev
mailing list