android_kernel_oneplus_msm8998/drivers/scsi/csiostor
Varun Prakash 59cb416436 scsi: csiostor: fix use after free in csio_hw_use_fwconfig()
[ Upstream commit a351e40b6de550049423a26f7ded7b639e363d89 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-13 19:50:08 +02:00
..
csio_attr.c
csio_defs.h
csio_hw.c scsi: csiostor: fix use after free in csio_hw_use_fwconfig() 2018-04-13 19:50:08 +02:00
csio_hw.h csiostor:T5 Firmware fix and cleanup. 2015-01-27 17:17:31 -08: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
csio_init.c cxgb4/cxgb4vf/csiostor: Make PCI Device ID Tables be "const" 2015-03-19 15:30:21 -04:00
csio_init.h
csio_isr.c
csio_lnode.c
csio_lnode.h
csio_mb.c csiostor:Use firmware version from cxgb4/t4fw_version.h 2015-02-04 14:00:30 -08:00
csio_mb.h
csio_rnode.c
csio_rnode.h
csio_scsi.c scsi: use host wide tags by default 2015-11-09 17:11:57 -08:00
csio_scsi.h
csio_wr.c csiostor:Remove T4 FCoE Support. 2015-01-19 15:30:02 -05:00
csio_wr.h
Kconfig
Makefile csiostor:Removed file csio_hw_t4.c 2015-01-19 15:30:02 -05:00
t4fw_api_stor.h