linux/drivers/scsi/qla2xxx
Rafael Mendonca 601be20fc6 scsi: qla2xxx: Fix memory leak in __qlt_24xx_handle_abts()
Commit 8f394da36a ("scsi: qla2xxx: Drop TARGET_SCF_LOOKUP_LUN_FROM_TAG")
made the __qlt_24xx_handle_abts() function return early if
tcm_qla2xxx_find_cmd_by_tag() didn't find a command, but it missed to clean
up the allocated memory for the management command.

Link: https://lore.kernel.org/r/20220914024924.695604-1-rafaelmendsr@gmail.com
Fixes: 8f394da36a ("scsi: qla2xxx: Drop TARGET_SCF_LOOKUP_LUN_FROM_TAG")
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Rafael Mendonca <rafaelmendsr@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-09-15 21:58:03 -04:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile scsi: qla2xxx: edif: Add start + stop bsgs 2021-07-27 00:06:42 -04:00
qla_attr.c scsi: qla2xxx: Add debug prints in the device remove path 2022-06-16 21:59:53 -04:00
qla_bsg.c scsi: qla2xxx: Fix sparse warning for dport_data 2022-07-18 22:33:04 -04:00
qla_bsg.h scsi: qla2xxx: Add a new v2 dport diagnostic feature 2022-06-16 21:59:52 -04:00
qla_dbg.c scsi: qla2xxx: Format log strings only if needed 2021-12-06 22:38:17 -05:00
qla_dbg.h scsi: qla2xxx: edif: Add bsg interface to read doorbell events 2022-06-07 21:50:10 -04:00
qla_def.h scsi: qla2xxx: Update manufacturer details 2022-07-18 22:33:04 -04:00
qla_devtbl.h
qla_dfs.c scsi: qla2xxx: Remove unnecessary NULL check 2021-01-22 22:04:16 -05:00
qla_dsd.h
qla_edif.c scsi: qla2xxx: edif: Reduce N2N thrashing at app_start time 2022-06-10 13:04:04 -04:00
qla_edif.h scsi: qla2xxx: edif: Fix session thrash 2022-06-10 13:04:04 -04:00
qla_edif_bsg.h scsi: qla2xxx: edif: Synchronize NPIV deletion with authentication application 2022-06-07 21:50:10 -04:00
qla_fw.h scsi: qla2xxx: edif: Send LOGO for unexpected IKE message 2022-06-10 13:04:03 -04:00
qla_gbl.h scsi: qla2xxx: Fix discovery issues in FC-AL topology 2022-07-18 22:33:03 -04:00
qla_gs.c scsi: qla2xxx: Update manufacturer details 2022-07-18 22:33:04 -04:00
qla_init.c scsi: qla2xxx: Fix discovery issues in FC-AL topology 2022-07-18 22:33:03 -04:00
qla_inline.h scsi: qla2xxx: Implement ref count for SRB 2022-01-24 23:57:30 -05:00
qla_iocb.c scsi: qla2xxx: edif: Fix no logout on delete for N2N 2022-06-10 13:04:04 -04:00
qla_isr.c scsi: qla2xxx: edif: Fix dropped IKE message 2022-07-18 22:33:03 -04:00
qla_mbx.c scsi: qla2xxx: Fix discovery issues in FC-AL topology 2022-07-18 22:33:03 -04:00
qla_mid.c scsi: qla2xxx: edif: Synchronize NPIV deletion with authentication application 2022-06-07 21:50:10 -04:00
qla_mr.c scsi: qla2xxx: Implement ref count for SRB 2022-01-24 23:57:30 -05:00
qla_mr.h scsi: qla2xxx: Suppress Coverity complaints about dseg_r* 2021-03-24 21:47:20 -04:00
qla_nvme.c scsi: Revert "scsi: qla2xxx: Fix disk failure to rediscover" 2022-07-18 22:33:03 -04:00
qla_nvme.h scsi: qla2xxx: Increase max limit of ql2xnvme_queues 2022-03-15 00:29:15 -04:00
qla_nx.c scsi: qla2xxx: Use named initializers for q_dev_state 2022-02-22 21:11:07 -05:00
qla_nx.h scsi: qla2xxx: Use named initializers for q_dev_state 2022-02-22 21:11:07 -05:00
qla_nx2.c scsi: qla2xxx: Use named initializers for q_dev_state 2022-02-22 21:11:07 -05:00
qla_nx2.h scsi/qla2xxx: Convert to SPDX license identifiers 2020-09-16 14:31:50 +02:00
qla_os.c scsi: qla2xxx: Fix response queue handler reading stale packets 2022-07-18 22:33:03 -04:00
qla_settings.h scsi/qla2xxx: Convert to SPDX license identifiers 2020-09-16 14:31:50 +02:00
qla_sup.c scsi: qla2xxx: Add devids and conditionals for 28xx 2022-01-24 23:57:32 -05:00
qla_target.c scsi: qla2xxx: Fix memory leak in __qlt_24xx_handle_abts() 2022-09-15 21:58:03 -04:00
qla_target.h scsi: qla2xxx: Remove free_sg command flag 2022-04-25 22:26:15 -04:00
qla_tmpl.c scsi: qla2xxx: Fix premature hw access after PCI error 2022-01-24 23:57:30 -05:00
qla_tmpl.h scsi: qla2xxx: Fix crash during driver load on big endian machines 2020-12-09 11:34:17 -05:00
qla_version.h scsi: qla2xxx: Update version to 10.02.07.800-k 2022-07-18 22:33:04 -04:00
tcm_qla2xxx.c scsi: target: qla2xxx: Replace enable attr with ops.enable 2021-10-04 23:27:38 -04:00
tcm_qla2xxx.h