Commit 034b060
Paul Ely
scsi: lpfc: Move clearing of HBA_SETUP flag to before lpfc_sli4_queue_unset
JIRA: https://issues.redhat.com/browse/RHEL-103751
commit a28d10a
Author: Justin Tee <justin.tee@broadcom.com>
Date: Wed Jun 18 12:21:34 2025 -0700
scsi: lpfc: Move clearing of HBA_SETUP flag to before lpfc_sli4_queue_unset
Move clearing of HBA_SETUP flag out of lpfc_sli_brdrestart_s4 and before
lpfc_sli4_queue_unset. lpfc_sli4_queue_unset kfrees phba queues, so
clear the HBA_SETUP atomic flag to signal that the phba struct is no
longer initialized.
Also, add a check for the HBA_SETUP flag in the lpfc_sli4_io_xri_aborted
routine before dereferencing the ELS WQ.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20250618192138.124116-10-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Paul Ely <paely@redhat.com>1 parent 68ce87a commit 034b060
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | | - | |
| 539 | + | |
| 540 | + | |
540 | 541 | | |
541 | 542 | | |
542 | 543 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5160 | 5160 | | |
5161 | 5161 | | |
5162 | 5162 | | |
5163 | | - | |
5164 | 5163 | | |
5165 | 5164 | | |
5166 | 5165 | | |
| |||
5277 | 5276 | | |
5278 | 5277 | | |
5279 | 5278 | | |
| 5279 | + | |
5280 | 5280 | | |
5281 | 5281 | | |
5282 | 5282 | | |
| |||
0 commit comments