aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2025-08-28 20:18:58 +0800
committerJakub Kicinski <kuba@kernel.org>2025-09-01 13:06:10 -0700
commite580beaf43d563aaf457f1c7f934002355ebfe7b (patch)
tree0e9f30ebe3f4b7c398757bb6243ccf236b3e5534 /tools/perf/scripts/python
parenticmp: fix icmp_ndo_send address translation for reply direction (diff)
downloadwireguard-linux-e580beaf43d563aaf457f1c7f934002355ebfe7b.tar.xz
wireguard-linux-e580beaf43d563aaf457f1c7f934002355ebfe7b.zip
eth: mlx4: Fix IS_ERR() vs NULL check bug in mlx4_en_create_rx_ring
Replace NULL check with IS_ERR() check after calling page_pool_create() since this function returns error pointers (ERR_PTR). Using NULL check could lead to invalid pointer dereference. Fixes: 8533b14b3d65 ("eth: mlx4: create a page pool for Rx") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev> Link: https://patch.msgid.link/20250828121858.67639-1-linmq006@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions