original_kernel/drivers/target/tcm_fc
Mark Rustad 06383f10c4 tcm_fc: Do not free tpg structure during wq allocation failure
Avoid freeing a registered tpg structure if an alloc_workqueue call
fails.  This fixes a bug where the failure was leaking memory associated
with se_portal_group setup during the original core_tpg_register() call.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Acked-by: Kiran Patil <Kiran.patil@intel.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2012-04-06 18:57:05 -07:00
..
Kconfig
Makefile
tcm_fc.h tcm_fc: Add abort flag for gracefully handling exchange timeout 2012-04-06 18:56:43 -07:00
tfc_cmd.c tcm_fc: Add abort flag for gracefully handling exchange timeout 2012-04-06 18:56:43 -07:00
tfc_conf.c tcm_fc: Do not free tpg structure during wq allocation failure 2012-04-06 18:57:05 -07:00
tfc_io.c tcm_fc: Add abort flag for gracefully handling exchange timeout 2012-04-06 18:56:43 -07:00
tfc_sess.c