[PATCH 1/1] vhost: fix missing gso_size validity check

Maxime Coquelin maxime.coquelin at redhat.com
Fri Jan 17 10:27:20 CET 2025



On 12/20/24 4:45 AM, Yunjian Wang wrote:
> The value of tso_segsz cannot be 0, instead check that value of
> gso_size was set.
> 
> Fixes: d0cf91303d73 ("vhost: add Tx offload capabilities")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>
> ---
>   lib/vhost/virtio_net.c | 3 +++
>   1 file changed, 3 insertions(+)
> 

Applied to next-virtio/for-next-net

Thanks,
Maxime



More information about the dev mailing list