diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-09-23 07:32:14 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-09-25 08:24:46 +0200 |
commit | 673681cafa99776e334c3e61cafa2cf115950c32 (patch) | |
tree | d6a0f8fb99b66d652ae408aca48707b9b2608268 /arch/arm/common/locomo.c | |
parent | target: Make TCM_WRITE_PROTECT failure honor D_SENSE bit (diff) | |
download | linux-673681cafa99776e334c3e61cafa2cf115950c32.tar.xz linux-673681cafa99776e334c3e61cafa2cf115950c32.zip |
iscsi-target: Avoid OFMarker + IFMarker negotiation
This patch fixes a v4.2+ regression introduced by commit c04a6091
that removed support for obsolete sync-and-steering markers usage
as originally defined in RFC-3720.
The regression would involve attempting to send OFMarker=No +
IFMarker=No keys during opertional negotiation login phase,
including when initiators did not actually propose these keys.
The result for MSFT iSCSI initiators would be random junk in
TCP stream after the last successful login request was been sent
signaling the move to full feature phase (FFP) operation.
To address this bug, go ahead and avoid negotiating these keys
by default unless the initiator explicitly proposes them, but
still respond to them with 'No' if they are proposed.
Reported-by: Dragan Milivojević <galileo@pkm-inc.com>
Bisected-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
Tested-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'arch/arm/common/locomo.c')
0 files changed, 0 insertions, 0 deletions