diff options
author | James Smart <jsmart2021@gmail.com> | 2021-05-14 12:55:56 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-05-21 23:23:28 -0400 |
commit | 5aa615d195f1e142c662cb2253f057c9baec7531 (patch) | |
tree | 45b66dce0972786f7b10f17de02676758842c532 /drivers/scsi/lpfc/lpfc_scsi.c | |
parent | 04c1d9c50ae32d6efd0b71024b3829051821c7a2 (diff) |
scsi: lpfc: Fix crash when lpfc_sli4_hba_setup() fails to initialize the SGLs
The driver is encountering a crash in lpfc_free_iocb_list() while
performing initial attachment.
Code review found this to be an errant failure path that was taken, jumping
to a tag that then referenced structures that were uninitialized.
Fix the failure path.
Link: https://lore.kernel.org/r/20210514195559.119853-9-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.c')
0 files changed, 0 insertions, 0 deletions