Commit 0506fd6
Paul Ely
scsi: lpfc: Move clearing of HBA_SETUP flag to before lpfc_sli4_queue_unset
JIRA: https://issues.redhat.com/browse/RHEL-103752
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 86faf91 commit 0506fd6
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 | |
|---|---|---|---|
| |||
5170 | 5170 | | |
5171 | 5171 | | |
5172 | 5172 | | |
5173 | | - | |
5174 | 5173 | | |
5175 | 5174 | | |
5176 | 5175 | | |
| |||
5287 | 5286 | | |
5288 | 5287 | | |
5289 | 5288 | | |
| 5289 | + | |
5290 | 5290 | | |
5291 | 5291 | | |
5292 | 5292 | | |
| |||
0 commit comments