OpenCloudOS-Kernel/drivers/scsi/csiostor
Varun Prakash a351e40b6d scsi: csiostor: fix use after free in csio_hw_use_fwconfig()
mbp pointer is passed to csio_hw_validate_caps() so call mempool_free()
after calling csio_hw_validate_caps().

Signed-off-by: Varun Prakash <varun@chelsio.com>
Fixes: 541c571fa2 ("csiostor:Use firmware version from cxgb4/t4fw_version.h")
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-05-18 21:37:27 -04:00
..
Kconfig scsi: use 'depends' instead of 'select' for SCSI_FC_ATTRS 2014-09-16 16:55:55 -04:00
Makefile csiostor:Removed file csio_hw_t4.c 2015-01-19 15:30:02 -05:00
csio_attr.c cxgb4: Cleanup macros so they follow the same style and look consistent, part 2 2014-11-10 12:57:10 -05:00
csio_defs.h
csio_hw.c scsi: csiostor: fix use after free in csio_hw_use_fwconfig() 2017-05-18 21:37:27 -04:00
csio_hw.h scsi: csiostor: switch to pci_alloc_irq_vectors 2017-04-06 12:57:03 -04:00
csio_hw_chip.h csiostor:Use firmware version from cxgb4/t4fw_version.h 2015-02-04 14:00:30 -08:00
csio_hw_t5.c cxgb4/cxg4vf/csiostor: Cleanup MC, MA and CIM related register defines 2015-01-05 16:34:47 -05:00
csio_init.c cxgb4/cxgb4vf/csiostor: Make PCI Device ID Tables be "const" 2015-03-19 15:30:21 -04:00
csio_init.h csiostor: Cleanup chip specific operations. 2013-03-14 11:36:00 -04:00
csio_isr.c scsi: csiostor: switch to pci_alloc_irq_vectors 2017-04-06 12:57:03 -04:00
csio_lnode.c iw_cxgb4/cxgb4/cxgb4vf/cxgb4i/csiostor: Cleanup register defines/macros related to all other cpl messages 2015-01-12 16:19:34 -05:00
csio_lnode.h [SCSI] csiostor: off by one error 2013-05-02 07:37:10 -07:00
csio_mb.c csiostor:Use firmware version from cxgb4/t4fw_version.h 2015-02-04 14:00:30 -08:00
csio_mb.h RDMA/cxgb4/csiostor: Cleansup FW related macros/register defines for PF/VF and LDST 2014-11-22 16:57:47 -05:00
csio_rnode.c csiostor: Header file modifications for chip support and bug fixes. 2013-03-14 11:36:00 -04:00
csio_rnode.h [SCSI] csiostor: off by one error 2013-05-02 07:37:10 -07:00
csio_scsi.c scsi: remove eh_timed_out methods in the transport template 2017-02-06 19:10:03 -05:00
csio_scsi.h
csio_wr.c csiostor:Remove T4 FCoE Support. 2015-01-19 15:30:02 -05:00
csio_wr.h cxgb4: Cleanup macros so they follow the same style and look consistent, part 2 2014-11-10 12:57:10 -05:00
t4fw_api_stor.h RDMA/cxgb4: Fix LE hash collision bug for active open connection 2012-12-19 23:02:43 -08:00