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

Maxime Coquelin maxime.coquelin at redhat.com
Fri Oct 9 09:14:00 CEST 2020



On 10/1/20 12:22 PM, Chas Williams wrote:
> 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")
> 
> 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 +++--
>  2 files changed, 6 insertions(+), 4 deletions(-)
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list