diff options
| author | Yue Haibing <[email protected]> | 2025-01-06 22:19:18 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-01-08 02:15:57 +0000 |
| commit | c824125cbb181507d2c5488232399d0767e143c7 (patch) | |
| tree | 2ab8efa6a7ddf545293fc86d49161e62eeeeee09 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | igb: Fix passing 0 to ERR_PTR in igb_run_xdp() (diff) | |
| download | kernel-c824125cbb181507d2c5488232399d0767e143c7.tar.gz kernel-c824125cbb181507d2c5488232399d0767e143c7.zip | |
ixgbe: Fix passing 0 to ERR_PTR in ixgbe_run_xdp()
ixgbe_run_xdp() converts customed xdp action to a negative error code
with the sk_buff pointer type which be checked with IS_ERR in
ixgbe_clean_rx_irq(). Remove this error pointer handing instead use
plain int return value.
Reviewed-by: Jacob Keller <[email protected]>
Reviewed-by: Maciej Fijalkowski <[email protected]>
Signed-off-by: Yue Haibing <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Chandan Kumar Rout <[email protected]> (A Contingent Worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
