diff options
author | Yue Haibing <yuehaibing@huawei.com> | 2025-01-06 14:19:17 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-07 18:15:54 -0800 |
commit | 8ae94669b1f3aca9079095415544f3e8b0e60e7e (patch) | |
tree | 174c96d8d6a84e078131e890b3c35dc830a5198c /scripts/lib/kdoc/kdoc_parser.py | |
parent | 8b6237e1f4d405737237882a19ee5f316763dff7 (diff) |
igb: Fix passing 0 to ERR_PTR in igb_run_xdp()
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.
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Chandan Kumar Rout <chandanx.rout@intel.com> (A Contingent Worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Link: https://patch.msgid.link/20250106221929.956999-10-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions