Skip to content
Commit e0546fc1 authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Nicholas Bellinger
Browse files

Target/iser: Fix a wrong dereference in case discovery session is over iser



In case the discovery session is carried over iser, we can't
access the assumed network portal since the default portal is
used. In this case we don't really need to allocate the fastreg
pool, just prepare to the text pdu that will follow.

Signed-off-by: default avatarSagi Grimberg <sagig@mellanox.com>
Reported-by: default avatarAlex Tabachnik <alext@mellanox.com>
Cc: stable@vger.kernel.org # 3.15+
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent bbc05048
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment