]> git.baikalelectronics.ru Git - kernel.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)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 20 Jul 2016 23:45:35 +0000 (19:45 -0400)
commit97086ad722e61d2fe2cdad6a6b0cc9699ed45f28
treebaa9bddc227c9e608dce58edca20aff427ebcd04
parent36cc4d6c21d0d7a85d1af61afca5db37fe93643b
lpfc: call lpfc_sli_validate_fcp_iocb() with the hbalock held

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>
drivers/scsi/lpfc/lpfc_sli.c