diff options
| author | Kalesh AP <[email protected]> | 2025-02-04 08:21:23 +0000 |
|---|---|---|
| committer | Leon Romanovsky <[email protected]> | 2025-02-10 08:39:25 +0000 |
| commit | f0df225d12fcb049429fb5bf5122afe143c2dd15 (patch) | |
| tree | 8e94b582f7486517875f123446f7f67b9cf6e012 /net/switchdev/switchdev.c | |
| parent | RDMA/bnxt_re: Fix an issue in bnxt_re_async_notifier (diff) | |
| download | kernel-f0df225d12fcb049429fb5bf5122afe143c2dd15.tar.gz kernel-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 <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
