diff options
author | Roland Dreier <roland@purestorage.com> | 2012-11-05 18:02:42 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-11 12:04:20 -0700 |
commit | 263ee55a37e7fd03646449cbc07e16b7943f0572 (patch) | |
tree | fcbac0e6062f49dcca402367af05ba47691a7542 /net/lapb/lapb_timer.c | |
parent | 437569c5bdfb172fd13d27a82c108724b674bd63 (diff) |
iscsi-target: Always send a response before terminating iSCSI connection
commit 1c5c12c666fda27c7c494b34934a0a0631a48130 upstream.
There are some cases, for example when the initiator sends an
out-of-bounds ErrorRecoveryLevel value, where the iSCSI target
terminates the connection without sending back any error. Audit the
login path and add appropriate iscsit_tx_login_rsp() calls to make
sure this doesn't happen.
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Rui Xiang <rui.xiang@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions