OpenCloudOS-Kernel/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
..
Makefile [SCSI] lpfc: Update copyright notices 2005-07-02 19:08:29 -05: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
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 [PATCH] turn many #if $undefined_string into #ifdef $undefined_string 2005-07-27 16:26:08 -07:00
lpfc_crtn.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
lpfc_ct.c [SCSI] lpfc 8.1.11 : Discovery Fixes 2006-12-03 09:28:43 -06:00
lpfc_disc.h [SCSI] lpfc 8.1.10 : Add support for dev_loss_tmo_callbk and fast_io_fail_tmo_callbk 2006-09-04 21:25:21 -05:00
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 [SCSI] lpfc 8.1.7 : Fix failing firmware download due to mailbox delays needing to be longer 2006-08-06 11:28:03 -05:00
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 [SCSI] lpfc: minor syntax fixes 2006-03-06 10:20:56 -06:00
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