aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorMark Rustad <[email protected]>2012-04-03 17:24:52 +0000
committerNicholas Bellinger <[email protected]>2012-04-07 01:57:05 +0000
commit06383f10c49f507220594a455c6491ca6f8c94ab (patch)
treeaeed502673297971463114c1046e82c74ab498f2 /lib/mpi/mpi-cmp.c
parenttcm_fc: Add abort flag for gracefully handling exchange timeout (diff)
downloadkernel-06383f10c49f507220594a455c6491ca6f8c94ab.tar.gz
kernel-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 <[email protected]> Acked-by: Kiran Patil <[email protected]> Cc: <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions