]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lpfc: Fix crash in vport_delete.
authorJames Smart <james.smart@avagotech.com>
Thu, 21 May 2015 17:55:26 +0000 (13:55 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 19 Oct 2015 16:10:54 +0000 (09:10 -0700)
commite67059a969887dbfda4fe124cc76900acd339494
tree47fa5a469d65eb674b0fab703b95ccff0b92746a
parent589bf44c89b7108acf59aa2cbc1784c04930cd7d
lpfc: Fix crash in vport_delete.

We inadvertantly took the path to recreate the vport while in a
driver teardown path

Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
(cherry picked from commit cc82355a6e6cb606125b849db7f9e9a10408d407)

Orabug: 22029622
From dick.kennedy@avagotech.com lpfc-10.5.0.1-11.0.0.3-1.tar.gz
Acked-by: Chuck Anderson <chuck.anderson@oracle.com>
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_nportdisc.c
drivers/scsi/lpfc/lpfc_vport.c