[PATCH 1/1] vhost: fix missing descriptor chains length checks
Maxime Coquelin
maxime.coquelin at redhat.com
Tue Mar 4 14:42:22 CET 2025
On 12/23/24 4:29 AM, Yunjian Wang wrote:
> The descriptor chains length must be greater than the Virtio-net
> header size. Otherwise, such descriptor chains sizes implies no
> packet data.
>
> Fixes: fe8477ebbd94 ("vhost: support async packed ring dequeue")
> Cc: stable at dpdk.org
>
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>
> ---
> lib/vhost/virtio_net.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
Applied to next-virtio.
Thanks,
Maxime
More information about the dev
mailing list