Re: [PATCH v4 net-next 2/4] igb: Fix passing 0 to ERR_PTR in igb_run_xdp()

From: Simon Horman
Date: Sat Oct 26 2024 - 11:38:23 EST


On Sat, Oct 26, 2024 at 12:12:47PM +0800, Yue Haibing wrote:
> igb_run_xdp() converts customed xdp action to a negative error code
> with the sk_buff pointer type which be checked with IS_ERR in
> igb_clean_rx_irq(). Remove this error pointer handing instead use plain
> int return value.
>
> Fixes: 9cbc948b5a20 ("igb: add XDP support")
> Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@xxxxxxxxx>
> Reviewed-by: Jacob Keller <jacob.e.keller@xxxxxxxxx>
> Signed-off-by: Yue Haibing <yuehaibing@xxxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>