]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Fix null-pointer dereference in qed_rdma_create_qp()
authorShai Malin <smalin@marvell.com>
Sun, 15 Aug 2021 11:06:39 +0000 (14:06 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Aug 2021 10:23:32 +0000 (11:23 +0100)
commitd33d19d313d3466abdf8b0428be7837aff767802
tree7fae7d8a566489768ba5b3397e07c7c9edd8b9a4
parent37110237f31105d679fc0aa7b11cdec867750ea7
qed: Fix null-pointer dereference in qed_rdma_create_qp()

Fix a possible null-pointer dereference in qed_rdma_create_qp().

Changes from V2:
- Revert checkpatch fixes.

Reported-by: TOTE Robot <oslab@tsinghua.edu.cn>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Shai Malin <smalin@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_rdma.c