WSL2-Linux-Kernel/drivers/scsi/qla4xxx
Pan Bian 3fe3d2428b scsi: qla4xxx: fix double free bug
The variable init_fw_cb is released twice, resulting in a double free
bug. The call to the function dma_free_coherent() before goto is removed to
get rid of potential double free.

Fixes: 2a49a78ed3 ("[SCSI] qla4xxx: added IPv6 support.")
Link: https://lore.kernel.org/r/1572945927-27796-1-git-send-email-bianpan2016@163.com
Signed-off-by: Pan Bian <bianpan2016@163.com>
Acked-by: Manish Rangankar <mrangankar@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-11-19 21:37:34 -05:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ql4_83xx.c scsi: qla4xxx: shut up warning for rd_reg_indirect 2016-02-23 21:27:02 -05:00
ql4_83xx.h
ql4_attr.c
ql4_bsg.c
ql4_bsg.h
ql4_dbg.c
ql4_dbg.h
ql4_def.h scsi: qla4xxx: skip error recovery in case of register disconnect. 2018-02-13 21:35:41 -05:00
ql4_fw.h
ql4_glbl.h scsi: qla4xxx: switch to pci_alloc_irq_vectors 2016-12-07 18:58:58 -05:00
ql4_init.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
ql4_inline.h
ql4_iocb.c
ql4_isr.c scsi: qla4xxx: switch to pci_alloc_irq_vectors 2016-12-07 18:58:58 -05:00
ql4_mbx.c scsi: qla4xxx: fix double free bug 2019-11-19 21:37:34 -05:00
ql4_nvram.c
ql4_nvram.h
ql4_nx.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
ql4_nx.h scsi: qla4xxx: Move an array from a .h into a .c file 2018-02-12 11:43:24 -05:00
ql4_os.c Merge branch '5.1/scsi-fixes' into 5.2/merge 2019-04-12 21:27:23 -04:00
ql4_version.h