dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/target/tcm_fc
Nicholas Bellinger 88dd9e26d6 target: Make TFO->check_stop_free return free status
This patch converts target_core_fabric_ops->check_stop_free() usage in
transport_cmd_check_stop() and associated fabric module usage to
return '1' when the passed se_cmd has been released directly within
->check_stop_free(), or return '0' when the passed se_cmd has not
been released.

This addresses an issue where transport_cmd_finish_abort() ->
transport_cmd_check_stop_to_fabric() was leaking descriptors during
LUN_RESET for modules using ->check_stop_free(), but not directly
releasing se_cmd in all cases.

Cc: stable@kernel.org
Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>
2011-11-02 15:58:30 +00:00
..
Kconfig [SCSI] tcm_fc: Adding FC_FC4 provider (tcm_fc) for FCoE target (TCM - target core) support 2011-05-17 10:52:46 +04:00
Makefile tcm_fc: Makefile cleanups 2011-07-22 09:37:47 +00:00
tcm_fc.h target: Make TFO->check_stop_free return free status 2011-11-02 15:58:30 +00:00
tfc_cmd.c target: Make TFO->check_stop_free return free status 2011-11-02 15:58:30 +00:00
tfc_conf.c tcm_fc: remove custom hex_to_bin in ft_parse_wwn 2011-10-24 03:20:49 +00:00
tfc_io.c target: Remove unneeded version.h includes 2011-10-11 04:10:19 +00:00
tfc_sess.c target: Remove unneeded version.h includes 2011-10-11 04:10:19 +00:00