summaryrefslogtreecommitdiff
path: root/Documentation/timers
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2013-02-19 06:00:33 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-04 02:06:39 +0400
commit3fa4f7261d75cb6b35fdf8d329f5fd64e7354c58 (patch)
tree2cd2f12bd87943cb865c2038b578d568e890d050 /Documentation/timers
parent58d7422c654e7720a3920e63dcd6c64052aeec2d (diff)
downloadlinux-3fa4f7261d75cb6b35fdf8d329f5fd64e7354c58.tar.xz
target: Fix lookup of dynamic NodeACLs during cached demo-mode operation
commit fcf29481fb8e106daad6688f2e898226ee928992 upstream. This patch fixes a bug in core_tpg_check_initiator_node_acl() -> core_tpg_get_initiator_node_acl() where a dynamically created se_node_acl generated during session login would be skipped during subsequent lookup due to the '!acl->dynamic_node_acl' check, causing a new se_node_acl to be created with a duplicate ->initiatorname. This would occur when a fabric endpoint was configured with TFO->tpg_check_demo_mode()=1 + TPF->tpg_check_demo_mode_cache()=1 preventing the release of an existing se_node_acl during se_session shutdown. Also, drop the unnecessary usage of core_tpg_get_initiator_node_acl() within core_dev_init_initiator_node_lun_acl() that originally required the extra '!acl->dynamic_node_acl' check, and just pass the configfs provided se_node_acl pointer instead. Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/timers')
0 files changed, 0 insertions, 0 deletions