scsi: qedi: Protect active command list to avoid list corruption
authorNilesh Javali <njavali@marvell.com>
Tue, 8 Sep 2020 09:56:53 +0000 (02:56 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 9 Sep 2020 02:40:22 +0000 (22:40 -0400)
commitc0650e28448d606c84f76c34333dba30f61de993
tree1d7ed5d07213e49379a297a9ab92f8b71c28b66d
parent28b35d17f9f8573d4646dd8df08917a4076a6b63
scsi: qedi: Protect active command list to avoid list corruption

Protect active command list for non-I/O commands like login response,
logout response, text response, and recovery cleanup of active list to
avoid list corruption.

Link: https://lore.kernel.org/r/20200908095657.26821-5-mrangankar@marvell.com
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Manish Rangankar <mrangankar@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedi/qedi_fw.c
drivers/scsi/qedi/qedi_iscsi.c