qla2xxx: Fix request queue corruption.
authorQuinn Tran <quinn.tran@cavium.com>
Wed, 15 Mar 2017 16:48:45 +0000 (09:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 26 Mar 2017 11:05:56 +0000 (13:05 +0200)
commit66e70bdca599abd2dc42c5849ae21895de141bfe
tree6ce68598836601322bb7a246652b6df4b435ab95
parentc5ad350d61441ea18869f910e60ae1b58a57d850
qla2xxx: Fix request queue corruption.

commit 8b666809e10cda9814af3e8be339d35b83909056 upstream.

When FW notify driver or driver detects low FW resource,
driver tries to send out Busy SCSI Status to tell Initiator
side to back off. During the send process, the lock was not held.

Signed-off-by: Quinn Tran <quinn.tran@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/qla2xxx/qla_target.c