diff options
author | 2025-02-04 00:21:23 -0800 | |
---|---|---|
committer | 2025-02-10 03:39:25 -0500 | |
commit | f0df225d12fcb049429fb5bf5122afe143c2dd15 (patch) | |
tree | 8e94b582f7486517875f123446f7f67b9cf6e012 /scripts/gdb/linux/utils.py | |
parent | RDMA/bnxt_re: Fix an issue in bnxt_re_async_notifier (diff) | |
download | wireguard-linux-f0df225d12fcb049429fb5bf5122afe143c2dd15.tar.xz wireguard-linux-f0df225d12fcb049429fb5bf5122afe143c2dd15.zip |
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/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions