Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information