OSDN Git Service

lpfc: Fix crash in vport_delete.
authorJames Smart <james.smart@avagotech.com>
Thu, 21 May 2015 17:55:26 +0000 (13:55 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Sat, 6 Jun 2015 05:39:07 +0000 (22:39 -0700)
commitcc82355a6e6cb606125b849db7f9e9a10408d407
treeab779d539c26b49ae7851542ec29adafdd31701d
parented243d37be56be3dff4bf51a6f870d36843ed12f
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>
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_nportdisc.c
drivers/scsi/lpfc/lpfc_vport.c