summaryrefslogtreecommitdiff
path: root/block/bsg-lib.c
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2014-06-10 14:41:41 +0400
committerNicholas Bellinger <nab@linux-iscsi.org>2014-06-11 22:52:39 +0400
commite0546fc1ba66c90cb38a5764357366267d3e58e4 (patch)
tree2b472ce77b4b24eed42cae22f8a5abcd5d3d22fb /block/bsg-lib.c
parentbbc050488525e1ab1194c27355f63c66814385b8 (diff)
downloadlinux-e0546fc1ba66c90cb38a5764357366267d3e58e4.tar.xz
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: Sagi Grimberg <sagig@mellanox.com> Reported-by: Alex Tabachnik <alext@mellanox.com> Cc: stable@vger.kernel.org # 3.15+ Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'block/bsg-lib.c')
0 files changed, 0 insertions, 0 deletions