diff options
author | 2025-01-06 14:19:17 -0800 | |
---|---|---|
committer | 2025-01-07 18:15:54 -0800 | |
commit | 8ae94669b1f3aca9079095415544f3e8b0e60e7e (patch) | |
tree | 174c96d8d6a84e078131e890b3c35dc830a5198c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | igc: Fix passing 0 to ERR_PTR in igc_xdp_run_prog() (diff) | |
download | wireguard-linux-8ae94669b1f3aca9079095415544f3e8b0e60e7e.tar.xz wireguard-linux-8ae94669b1f3aca9079095415544f3e8b0e60e7e.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions