linux/drivers/scsi/lpfc
Roberto Sassu cd60be4916 scsi: lpfc: avoid double free of resource identifiers
Set variables initialized in lpfc_sli4_alloc_resource_identifiers() to
NULL if an error occurred. Otherwise, lpfc_sli4_driver_resource_unset()
attempts to free the memory again.

Signed-off-by: Roberto Sassu <rsassu@suse.de>
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-01-11 22:56:58 -05:00
..
lpfc_attr.c scsi: lpfc: Synchronize link speed with boot driver 2016-11-08 17:29:50 -05:00
lpfc_attr.h lpfc: Re-organize source for easier driver attribute management 2016-07-15 15:25:06 -04:00
lpfc_bsg.c scsi: fc: use bsg_job_done 2016-11-17 20:15:26 -05:00
lpfc_bsg.h scsi: lpfc: Synchronize link speed with boot driver 2016-11-08 17:29:50 -05:00
lpfc_compat.h
lpfc_crtn.h scsi: change FC drivers to use 'struct bsg_job' 2016-11-17 20:15:25 -05:00
lpfc_ct.c scsi: lpfc: Mark symbols static where possible 2016-09-26 20:35:51 -04:00
lpfc_debugfs.c lpfc: fix missing zero termination in debugfs 2016-02-23 21:27:02 -05:00
lpfc_debugfs.h
lpfc_disc.h lpfc: Fix rport leak. 2015-06-05 22:40:19 -07:00
lpfc_els.c scsi: lpfc: Fix lost target in pt-to-pt connect 2016-11-08 17:29:50 -05:00
lpfc_hbadisc.c lpfc: Update modified file copyrights 2016-04-11 16:57:09 -04:00
lpfc_hw4.h scsi: lpfc: Fix fw download on SLI-4 FC adapters 2016-11-08 17:29:51 -05:00
lpfc_hw.h lpfc: Correct RDP response Revision location 2016-07-15 15:25:06 -04:00
lpfc_ids.h lpfc: Re-organize source for easier device-id management 2016-07-15 15:25:06 -04:00
lpfc_init.c scsi: lpfc: Use %zd format string for size_t 2016-11-08 17:29:53 -05:00
lpfc_logmsg.h [SCSI] lpfc 8.3.39: Fixed BlockGuard error reporting 2013-05-02 12:38:02 -07:00
lpfc_mbox.c scsi: lpfc: Mark symbols static where possible 2016-09-26 20:35:51 -04:00
lpfc_mem.c Revert "lpfc: Delete unnecessary checks before the function call mempool_destroy" 2016-05-11 13:02:43 -07:00
lpfc_nl.h
lpfc_nportdisc.c lpfc: Update modified file copyrights 2016-04-11 16:57:09 -04:00
lpfc_scsi.c scsi: lpfc: Replace pci_pool_alloc by pci_pool_zalloc 2016-11-30 11:40:20 -05:00
lpfc_scsi.h lpfc: Copyright updates 2016-07-15 15:25:06 -04:00
lpfc_sli4.h lpfc: Copyright updates 2016-07-15 15:25:06 -04:00
lpfc_sli.c scsi: lpfc: avoid double free of resource identifiers 2017-01-11 22:56:58 -05:00
lpfc_sli.h lpfc: Copyright updates 2016-07-15 15:25:06 -04:00
lpfc_version.h scsi: lpfc: lpfc version changed to 11.2.0.2 2016-11-08 17:29:51 -05:00
lpfc_vport.c lpfc: Update modified file copyrights 2016-04-11 16:57:09 -04:00
lpfc_vport.h [SCSI] lpfc 8.3.39: Fixed VPI allocation issues after firmware dump is performed 2013-05-02 12:37:45 -07:00
lpfc.h scsi: lpfc: Synchronize link speed with boot driver 2016-11-08 17:29:50 -05:00
Makefile