diff options
author | Bart Van Assche <[email protected]> | 2015-03-19 22:25:16 -0700 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2015-03-19 23:14:14 -0700 |
commit | 75c3d0bf9caebb502e96683b2bc37f9692437e68 (patch) | |
tree | c3e8c5f306f4df346ee6ba6700d07eca2760bb1e /scripts/gdb/linux/tasks.py | |
parent | f068fbc82e7696d67b1bb8189306865bedf368b6 (diff) |
tcm_qla2xxx: Fix incorrect use of __transport_register_session
This patch fixes the incorrect use of __transport_register_session()
in tcm_qla2xxx_check_initiator_node_acl() code, that does not perform
explicit se_tpg->session_lock when accessing se_tpg->tpg_sess_list
to add new se_sess nodes.
Given that tcm_qla2xxx_check_initiator_node_acl() is not called with
qla_hw->hardware_lock held for all accesses of ->tpg_sess_list, the
code should be using transport_register_session() instead.
Signed-off-by: Bart Van Assche <[email protected]>
Cc: Giridhar Malavali <[email protected]>
Cc: Quinn Tran <[email protected]>
Cc: <[email protected]> # 3.5+
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions