aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJustin Tee <justin.tee@broadcom.com>2024-10-31 15:32:10 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2024-11-02 21:45:23 -0400
commit4c113ac05bb246813f0a3003307ad93b1c2d7d02 (patch)
treeb691a0f9ea1efa6db4b170e361b8c22f639e0fe6 /tools/perf/scripts/python/export-to-sqlite.py
parent29a64210c76788cae589f31c1cda6c46c2364111 (diff)
downloadlinux-4c113ac05bb246813f0a3003307ad93b1c2d7d02.tar.gz
linux-4c113ac05bb246813f0a3003307ad93b1c2d7d02.tar.bz2
linux-4c113ac05bb246813f0a3003307ad93b1c2d7d02.zip
scsi: lpfc: Check devloss callbk done flag for potential stale NDLP ptrs
Should an rport remain in the NOTPRESENT state it is possible that stgt_delete_work is scheduled after dev_loss_tmo_callbk. In such cases, dev_loss_tmo_callbk would have cleaned up the NDLP object resulting in stale ndlp pointers in lpfc_terminate_rport_io(). Check for the DEVLOSS_CALLBK_DONE flag to know if dev_loss_tmo_callbk has been called. This is a more reliable way to avoid dereferencing stale NDLP pointers. Signed-off-by: Justin Tee <justin.tee@broadcom.com> Link: https://lore.kernel.org/r/20241031223219.152342-3-justintee8345@gmail.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions