diff options
author | Suganath Prabu S <suganath-prabu.subramani@broadcom.com> | 2021-05-18 07:16:23 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-06-01 04:48:20 +0200 |
commit | e2fac6c44ae06e58ac02181b048af31195883c31 (patch) | |
tree | 84c274740d323fbb40d0ed7cb2c85318602108ab /drivers/scsi/bnx2fc | |
parent | scsi: core: Cap scsi_host cmd_per_lun at can_queue (diff) | |
download | linux-e2fac6c44ae06e58ac02181b048af31195883c31.tar.xz linux-e2fac6c44ae06e58ac02181b048af31195883c31.zip |
scsi: mpt3sas: Fix deadlock while cancelling the running firmware event
Do not cancel current running firmware event work if the event type is
different from MPT3SAS_REMOVE_UNRESPONDING_DEVICES. Otherwise a deadlock
can be observed while cancelling the current firmware event work if a hard
reset operation is called as part of processing the current event.
Link: https://lore.kernel.org/r/20210518051625.1596742-2-suganath-prabu.subramani@broadcom.com
Signed-off-by: Suganath Prabu S <suganath-prabu.subramani@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/bnx2fc')
0 files changed, 0 insertions, 0 deletions