mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
qla2x00t-32gbit, target: Fix sqa_qla2xxx_check_initiator_node_acl()
Fixes: 3e0dbd0756 / r8245 ("qla2x00t-32gbit, target: Fix a memory leak in an error path")
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8262 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -816,6 +816,8 @@ static int sqa_qla2xxx_check_initiator_node_acl(scsi_qla_host_t *vha,
|
||||
goto free_sess;
|
||||
}
|
||||
|
||||
res = 0;
|
||||
|
||||
spin_lock_irqsave(&vha->hw->tgt.sess_lock, flags);
|
||||
se_sess->fabric_sess_ptr = scst_sess;
|
||||
fcport->se_sess = se_sess;
|
||||
|
||||
Reference in New Issue
Block a user