]> git.baikalelectronics.ru Git - kernel.git/commit
qla2xxx: Fix inadequate lock protection for ABTS.
authorQuinn Tran <quinn.tran@cavium.com>
Wed, 15 Mar 2017 16:48:46 +0000 (09:48 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 19 Mar 2017 00:28:08 +0000 (17:28 -0700)
commitf8ae66d3b18ca15ff6941b22630b2631767f50bd
treea380c60a3df9650de373c14ad878a771990c35e1
parent685586f88fbc166d5004659f77b442271eb783eb
qla2xxx: Fix inadequate lock protection for ABTS.

Normally, ABTS is sent to Target Core as Task MGMT command.
In the case of error, qla2xxx needs to send response, hardware_lock
is required to prevent request queue corruption.

Cc: <stable@vger.kernel.org>
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/qla2xxx/qla_target.c