]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: qla2xxx: fix inconsistent TMF timeout
authorQuinn Tran <qutran@marvell.com>
Fri, 14 Jul 2023 07:01:03 +0000 (12:31 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:22:54 +0000 (12:22 +0200)
commit4a16a46c84811ecbc0380a86a7ce2d6d289e798c
tree0b03c19ad1f5573f3dc3c71099ee10378edb2256
parentf1ea164be545629bf442c22f508ad9e7b94ac100
scsi: qla2xxx: fix inconsistent TMF timeout

commit 009e7fe4a1ed52276b332842a6b6e23b07200f2d upstream.

Different behavior were experienced of session being torn down vs not when
TMF is timed out. When FW detects the time out, the session is torn down.
When driver detects the time out, the session is not torn down.

Allow TMF error to return to upper layer without session tear down.

Cc: stable@vger.kernel.org
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Link: https://lore.kernel.org/r/20230714070104.40052-10-njavali@marvell.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/qla2xxx/qla_isr.c