scsi: qla2xxx: Fix exchange oversubscription for management commands
authorQuinn Tran <qutran@marvell.com>
Mon, 19 Dec 2022 11:07:42 +0000 (03:07 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 12 Jan 2023 02:28:37 +0000 (21:28 -0500)
commit5f63a163ed2f12c34dd4ae9b2757962ec7bb86e5
tree8ac5e20f771feec67707835bbeb77fc1c171b2b4
parent41e5afe51f75f2858f5563145348f6c26d307b8f
scsi: qla2xxx: Fix exchange oversubscription for management commands

Add resource checking for management (non-I/O) commands.

Fixes: 89c72f4245a8 ("scsi: qla2xxx: Add IOCB resource tracking")
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_dfs.c
drivers/scsi/qla2xxx/qla_inline.h
drivers/scsi/qla2xxx/qla_iocb.c
drivers/scsi/qla2xxx/qla_isr.c