aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/macsec.c
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2025-08-28 12:18:58 +0000
committerJakub Kicinski <[email protected]>2025-09-01 20:06:10 +0000
commite580beaf43d563aaf457f1c7f934002355ebfe7b (patch)
tree0e9f30ebe3f4b7c398757bb6243ccf236b3e5534 /drivers/net/macsec.c
parenticmp: fix icmp_ndo_send address translation for reply direction (diff)
downloadkernel-e580beaf43d563aaf457f1c7f934002355ebfe7b.tar.gz
kernel-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 <[email protected]> Reviewed-by: Vadim Fedorenko <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/macsec.c')
0 files changed, 0 insertions, 0 deletions