diff options
author | Hannes Reinecke <hare@suse.de> | 2018-02-22 09:49:35 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-03-02 02:16:50 +0100 |
commit | 1c6cacf4ea6c04a58a0e3057f5ed60c24a4ffeff (patch) | |
tree | 63796fdf986b01e35d7c872c83657e7873a2dd11 /.mailmap | |
parent | scsi: qla2xxx: Fix NULL pointer crash due to active timer for ABTS (diff) | |
download | linux-1c6cacf4ea6c04a58a0e3057f5ed60c24a4ffeff.tar.xz linux-1c6cacf4ea6c04a58a0e3057f5ed60c24a4ffeff.zip |
scsi: qla2xxx: Fixup locking for session deletion
Commit d8630bb95f46 ('Serialize session deletion by using work_lock')
tries to fixup a deadlock when deleting sessions, but fails to take into
account the locking rules. This patch resolves the situation by
introducing a separate lock for processing the GNLIST response, and
ensures that sess_lock is released before calling
qlt_schedule_sess_delete().
Cc: Himanshu Madhani <himanshu.madhani@cavium.com>
Cc: Quinn Tran <quinn.tran@cavium.com>
Fixes: d8630bb95f46 ("scsi: qla2xxx: Serialize session deletion by using work_lock")
Signed-off-by: Hannes Reinecke <hare@suse.com>
Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions