[dpdk-dev] [PATCH v2 2/2] net/virtio: check return from rte_raw_cksum_mbuf

Thomas Monjalon thomas at monjalon.net
Tue Oct 6 23:15:10 CEST 2020


> rte_raw_cksum_mbuf can fail, so we should check to see if it
> has. If so, return with an error.
> 
> Fixes: 96cb6711939e ("net/virtio: support Rx checksum offload")

It is an old bug, so it should be backported, right?
Cc: stable at dpdk.org

> Signed-off-by: Chas Williams <3chas3 at gmail.com>
> ---
> 
>  drivers/net/virtio/virtio_rxtx.c            | 5 +++--
>  drivers/net/virtio/virtio_rxtx_packed_avx.c | 5 +++--

Please use --cc-cmd devtools/get-maintainer.sh
so the maintainers are aware.




More information about the dev mailing list