From: Nicholas Bellinger Date: Mon, 27 Feb 2012 06:16:07 +0000 (-0800) Subject: iscsi-target: Fix dynamic -> explict NodeACL pointer reference X-Git-Tag: v3.2.14~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abd8ea073d7438c42004aac75d4bbb46e7a8c054;p=pandora-kernel.git iscsi-target: Fix dynamic -> explict NodeACL pointer reference commit d06283341aee9e48eff1b068779d340785c635ce upstream. This patch fixes a free after use in lio_target_make_nodeacl() where iscsi_node_acl was referenced from the original se_nacl_new allocation, instead of from core_tpg_add_initiator_node_acl() in the case of dynamic -> explict NodeACL conversion. Signed-off-by: Nicholas Bellinger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed