linux_dsm_epyc7002/drivers/scsi/qla2xxx
Nicholas Bellinger dcd211997d qla2xxx: Fix scsi_host leak on qlt_lport_register callback failure
This patch fixes a possible scsi_host reference leak in qlt_lport_register(),
when a non zero return from the passed (*callback) does not call drop the
local reference via scsi_host_put() before returning.

This currently does not effect existing tcm_qla2xxx code as the passed callback
will never fail, but fix this up regardless for future code.

Cc: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2013-12-19 14:50:17 -08:00
..
Kconfig
Makefile
qla_attr.c
qla_bsg.c
qla_bsg.h
qla_dbg.c
qla_dbg.h
qla_def.h
qla_devtbl.h
qla_dfs.c
qla_fw.h
qla_gbl.h
qla_gs.c
qla_init.c
qla_inline.h
qla_iocb.c
qla_isr.c
qla_mbx.c
qla_mid.c
qla_mr.c
qla_mr.h
qla_nx2.c
qla_nx2.h
qla_nx.c
qla_nx.h
qla_os.c
qla_settings.h
qla_sup.c
qla_target.c qla2xxx: Fix scsi_host leak on qlt_lport_register callback failure 2013-12-19 14:50:17 -08:00
qla_target.h
qla_version.h
tcm_qla2xxx.c
tcm_qla2xxx.h