On 2026-10-30 at 13:44:17, Marcin Knap ([email protected]) wrote:
> diff --git a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c 
> b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
> index 90af9b9044aa..6d10c132f61c 100644
> --- a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
> +++ b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
> @@ -1555,7 +1555,8 @@ static bool otx2_xdp_rcv_pkt_handler(struct otx2_nic 
> *pfvf,
>                               *need_xdp_flush = true;
>                               return true;
>                       }
> -                     return false;
> +                     xsk_buff_free(xsk_buff);
> +                     return true;
>               }
>  
>               err = xdp_do_redirect(pfvf->netdev, &xdp, prog);

the Octeontx2 changes look good.Thanks.

Reviewed-by: Nitin Shetty J <[email protected]>

Reply via email to