summary refs log tree commit diff
path: root/drivers/scsi/lpfc/lpfc_init.c
diff options
context:
space:
mode:
authorJames Smart <james.smart@broadcom.com>2016-10-13 15:06:15 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2016-11-08 17:29:50 -0500
commit89533e9be08aeda5cdc4600d46c1540c7b440299 (patch)
tree67e4eb1940c21bd18e40f321673f7f56fb74b9c9 /drivers/scsi/lpfc/lpfc_init.c
parent401304cc0d508de2e366e693fedbe52b18aef0a8 (diff)
downloadlinux-89533e9be08aeda5cdc4600d46c1540c7b440299.tar.gz
scsi: lpfc: Correct panics with eh_timeout and eh_deadline
Correct panics with eh_timeout and eh_deadline

We were having double completions on our SLI-3 version of adapters.
Solved by clearing our command pointer before calling scsi_done.

The eh paths potentially ran simulatenously and would see the non-null
value and invoke scsi_done again.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
0 files changed, 0 insertions, 0 deletions