diff options
author | Mark Rustad <mark.d.rustad@intel.com> | 2012-04-03 19:24:52 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-04-07 03:57:05 +0200 |
commit | 06383f10c49f507220594a455c6491ca6f8c94ab (patch) | |
tree | aeed502673297971463114c1046e82c74ab498f2 /drivers/hwmon/exynos4_tmu.c | |
parent | tcm_fc: Add abort flag for gracefully handling exchange timeout (diff) | |
download | linux-06383f10c49f507220594a455c6491ca6f8c94ab.tar.xz linux-06383f10c49f507220594a455c6491ca6f8c94ab.zip |
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>
Diffstat (limited to 'drivers/hwmon/exynos4_tmu.c')
0 files changed, 0 insertions, 0 deletions