qla2xxx: Fix request queue corruption.
authorQuinn Tran <quinn.tran@cavium.com>
Wed, 15 Mar 2017 16:48:45 +0000 (09:48 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 19 Mar 2017 00:28:08 +0000 (17:28 -0700)
commit8b666809e10cda9814af3e8be339d35b83909056
tree6e1ff3ccf9ba777ac52b42ef35a42facf5c6dc11
parentae940f2c472a62904dc18234de5cf3ed28f195ee
qla2xxx: Fix request queue corruption.

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.

Cc: <stable@vger.kernel.org>
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>
drivers/scsi/qla2xxx/qla_target.c