]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit8f6fc8d4e7ae2347d6261d11a7eb2b247d2954d8
treea380c60a3df9650de373c14ad878a771990c35e1
parent8b666809e10cda9814af3e8be339d35b83909056
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