diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-02-19 17:51:25 -0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-02-20 13:01:17 -0800 |
commit | ddb95145a38eb37b236d4e00f43a75d067922dda (patch) | |
tree | 81a67c0febfeae8f71e8ca06e21dbb6f6aea9aa3 /ipc/util.h | |
parent | d6a65fdc8903e632aa7bf86ee0f61a73969371f6 (diff) | |
download | linux-ddb95145a38eb37b236d4e00f43a75d067922dda.tar.gz |
qla2xxx: Fix qlt_lport_register base_vha callback race
This patch closes a race between qlt_lport_register() and tcm_qla2xxx callback logic by holding qla_tgt_mutex before making the callback. In order for this to work, the qlt_add_target() and qlt_remove_target() code has been changed to avoid the accessing qla_tgt_mutex + list_[add,del] for NPIV enabled ports. This bug introduced in v3.14-rc1 code with commit 49a47f2. Cc: Sawan Chandak <sawan.chandak@qlogic.com> Cc: Quinn Tran <quinn.tran@qlogic.com> Cc: Saurav Kashyap <saurav.kashyap@qlogic.com> Cc: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions