]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Fix imbalance vha->vref_count
authorQuinn Tran <qutran@marvell.com>
Wed, 13 Jul 2022 05:20:41 +0000 (22:20 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Jul 2022 02:33:03 +0000 (22:33 -0400)
commitdfe58feb1f0e4e6bcbb83cf46b94b58034daefcf
treeea562aba093eb0f70c5d9bd593c161e3b11bd454
parent1203e94ba29fa68da0eeac33be4bbdd1f18b829e
scsi: qla2xxx: Fix imbalance vha->vref_count

vref_count took an extra decrement in the task management path.  Add an
extra ref count to compensate the imbalance.

Link: https://lore.kernel.org/r/20220713052045.10683-7-njavali@marvell.com
Cc: stable@vger.kernel.org
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
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_init.c