android_kernel_xiaomi_sm8350/drivers/scsi/lpfc
Linas Vepstas 5daa49ef05 [SCSI] lpfc: avoid double-free during PCI error failure
If a PCI error is detected that cannot be recovered from, there
will be a double call of lpfc_pci_remove_one(), with the second call
resulting in a null-pointer dereference. The first call occurs in
lpfc_io_error_detected(), and the second call during pci device
remove. This patch eliminates the first call; its un-needed.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Acked-by: James Smart <James.Smart@Emulex.Com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-03-11 10:42:17 -05:00
..
lpfc_attr.c [SCSI] lpfc 8.1.11 : Add soft_wwnn sysfs attribute, rename soft_wwn_enable 2006-12-03 09:34:43 -06:00
lpfc_compat.h
lpfc_crtn.h
lpfc_ct.c
lpfc_disc.h
lpfc_els.c [SCSI] lpfc 8.1.11 : Fix Memory leaks 2006-12-03 09:29:36 -06:00
lpfc_hbadisc.c [SCSI] lpfc 8.1.11 : Add soft_wwnn sysfs attribute, rename soft_wwn_enable 2006-12-03 09:34:43 -06:00
lpfc_hw.h [SCSI] lpfc 8.1.11 : Misc Fixes 2006-12-03 09:35:04 -06:00
lpfc_init.c [SCSI] lpfc: avoid double-free during PCI error failure 2007-03-11 10:42:17 -05:00
lpfc_logmsg.h [SCSI] lpfc 8.1.11 : Adjust LOG_FCP logging 2006-12-03 09:29:57 -06:00
lpfc_mbox.c
lpfc_mem.c [SCSI] scsi: lpfc error path fix 2007-01-06 09:05:18 -06:00
lpfc_nportdisc.c [SCSI] lpfc 8.1.11 : Fix Memory leaks 2006-12-03 09:29:36 -06:00
lpfc_scsi.c [SCSI] lpfc 8.1.11 : Misc Fixes 2006-12-03 09:35:04 -06:00
lpfc_scsi.h
lpfc_sli.c [SCSI] lpfc: add PCI error recovery support 2007-02-16 09:42:38 -06:00
lpfc_sli.h [SCSI] lpfc 8.1.11 : Fix lpfc_multi_ring_support 2006-12-03 09:29:18 -06:00
lpfc_version.h [SCSI] lpfc 8.1.11 : Change version number to 8.1.11 2006-12-03 09:35:20 -06:00
lpfc.h [SCSI] lpfc 8.1.11 : Add soft_wwnn sysfs attribute, rename soft_wwn_enable 2006-12-03 09:34:43 -06:00
Makefile