diff options
author | Kalesh AP <kalesh-anakkur.purayil@broadcom.com> | 2025-02-04 00:21:23 -0800 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2025-02-10 03:39:25 -0500 |
commit | f0df225d12fcb049429fb5bf5122afe143c2dd15 (patch) | |
tree | 8e94b582f7486517875f123446f7f67b9cf6e012 /scripts/generate_rust_analyzer.py | |
parent | a27c6f46dcec8f697cbf15c8a10f8534c7b8a2c3 (diff) |
RDMA/bnxt_re: Add sanity checks on rdev validity
There is a possibility that ulp_irq_stop and ulp_irq_start
callbacks will be called when the device is in detached state.
This can cause a crash due to NULL pointer dereference as
the rdev is already freed.
Fixes: cc5b9b48d447 ("RDMA/bnxt_re: Recover the device when FW error is detected")
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/1738657285-23968-3-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions