https://github.com/torvalds/linux
Revision 06383f10c49f507220594a455c6491ca6f8c94ab authored by Mark Rustad on 03 April 2012, 17:24:52 UTC, committed by Nicholas Bellinger on 07 April 2012, 01:57:05 UTC
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>
1 parent e1c4038
History
Tip revision: 06383f10c49f507220594a455c6491ca6f8c94ab authored by Mark Rustad on 03 April 2012, 17:24:52 UTC
tcm_fc: Do not free tpg structure during wq allocation failure
Tip revision: 06383f1
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.2 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 205.7 KB
Makefile -rw-r--r-- 52.2 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top