summaryrefslogtreecommitdiff
path: root/drivers/scsi/bfa/bfa.h
diff options
context:
space:
mode:
authorDick Kennedy <dick.kennedy@broadcom.com>2020-08-04 00:02:25 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2020-08-05 03:56:57 +0300
commit24411fcd6fe7b55d1a48b80a9ffeb3564ff029a7 (patch)
tree7a6580eff2d4e0aa62d2ce0999570acdadbdb3b7 /drivers/scsi/bfa/bfa.h
parent8ccd6926db7dd865dd6eabe3c25ae2696bffc07e (diff)
downloadlinux-24411fcd6fe7b55d1a48b80a9ffeb3564ff029a7.tar.xz
scsi: lpfc: Fix oops when unloading driver while running mds diags
While mds diagnostic tests are running, if the driver is requested to be unloaded, oops or hangs are observed. The driver doesn't terminate the processing of diag frames when the unload is started. As such: oops may be seen for __lpfc_sli_release_iocbq_s4 because ring memory is referenced that was already freed; or hangs see in lpfc_nvme_wait_for_io_drain as ios no longer complete. If unloading, don't process diag frames. Just clean them up. Link: https://lore.kernel.org/r/20200803210229.23063-5-jsmart2021@gmail.com Signed-off-by: Dick Kennedy <dick.kennedy@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/bfa/bfa.h')
0 files changed, 0 insertions, 0 deletions