[PATCH v3 1/3] vhost: fix missing packets count reset when not ready
David Marchand
david.marchand at redhat.com
Thu Jan 16 11:10:14 CET 2025
On Thu, Jan 16, 2025 at 10:54 AM 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>
Reviewed-by: David Marchand <david.marchand at redhat.com>
--
David Marchand
More information about the dev
mailing list