]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lpfc: call lpfc_sli_validate_fcp_iocb() with the hbalock held
authorJohannes Thumshirn <jthumshirn@suse.de>
Mon, 18 Jul 2016 14:06:03 +0000 (16:06 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 27 Feb 2017 06:13:09 +0000 (22:13 -0800)
commitffc50419c6a2fc428b719cf062063ebeea9387b4
tree39a0a2436e5d3c6084970df3bb02e09bffc39b2c
parent82c8dbf93cea91625fe897856f1e66199e30aca9
lpfc: call lpfc_sli_validate_fcp_iocb() with the hbalock held

Orabug: 25486030

Call lpfc_sli_validate_fcp_iocb() with the hbalock held, as the pointer
to iocbq is not guaranteed to still be valid after looking it up.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Laurence Oberman <loberman@redhat.com>
Acked-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 31979008fdae72d7441643f3a5b1bdaedf481335)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/scsi/lpfc/lpfc_sli.c