]> 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)
commit46a659a730ae354d015299256c6a7e43468abd83
treea380c60a3df9650de373c14ad878a771990c35e1
parent2c9deda3455e3a8557b44f686e2d3e72235a8bf8
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