diff options
author | Justin Tee <[email protected]> | 2024-07-26 16:15:07 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-08-02 21:48:05 -0400 |
commit | 2be1d4f11944cd6283cb97268b3e17c4424945ca (patch) | |
tree | 76623bfcbbd6a877d3b6a7f06089be56dce401b4 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
parent | f1bfe32073964372c1dfa572480eb43d44e34909 (diff) |
scsi: lpfc: Validate hdwq pointers before dereferencing in reset/errata paths
When the HBA is undergoing a reset or is handling an errata event, NULL ptr
dereference crashes may occur in routines such as
lpfc_sli_flush_io_rings(), lpfc_dev_loss_tmo_callbk(), or
lpfc_abort_handler().
Add NULL ptr checks before dereferencing hdwq pointers that may have been
freed due to operations colliding with a reset or errata event handler.
Signed-off-by: Justin Tee <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions