diff options
author | 2023-05-23 11:31:59 -0700 | |
---|---|---|
committer | 2023-05-31 18:14:20 -0400 | |
commit | fd57a687d44118c0a3859f61a110f6e12804dd16 (patch) | |
tree | 05e595cd5f8bfc398b71563e31a6a7a501e1ff67 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | scsi: lpfc: Fix use-after-free rport memory access in lpfc_register_remote_port() (diff) | |
download | wireguard-linux-fd57a687d44118c0a3859f61a110f6e12804dd16.tar.xz wireguard-linux-fd57a687d44118c0a3859f61a110f6e12804dd16.zip |
scsi: lpfc: Clear NLP_IN_DEV_LOSS flag if already in rediscovery
In dev_loss_tmo callback routine, we early return if the ndlp is in a state
of rediscovery. This occurs when a target proactively PLOGIs or PRLIs
after an RSCN before the dev_loss_tmo callback routine is scheduled to run.
Move clear of the NLP_IN_DEV_LOSS flag before the ndlp state check in such
cases.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20230523183206.7728-3-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions