diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-05-01 22:44:56 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-05-16 02:09:11 +0200 |
commit | 7cbfcc953789ff864c2bf8365a82a3fba4869649 (patch) | |
tree | 395eb47a69b0dcebf0354bc9f9a6767f71085027 /drivers/target/tcm_fc | |
parent | Target/iscsi,iser: Avoid accepting transport connections during stop stage (diff) | |
download | linux-7cbfcc953789ff864c2bf8365a82a3fba4869649.tar.xz linux-7cbfcc953789ff864c2bf8365a82a3fba4869649.zip |
iscsi-target: Change BUG_ON to REJECT in iscsit_process_nop_out
This patch changes an incorrect use of BUG_ON to instead generate a
REJECT + PROTOCOL_ERROR in iscsit_process_nop_out() code. This case
can occur with traditional TCP where a flood of zeros in the data
stream can reach this block for what is presumed to be a NOP-OUT with
a solicited reply, but without a valid iscsi_cmd pointer.
This incorrect BUG_ON was introduced during the v3.11-rc timeframe
with the following commit:
commit 778de368964c5b7e8100cde9f549992d521e9c89
Author: Nicholas Bellinger <nab@linux-iscsi.org>
Date: Fri Jun 14 16:07:47 2013 -0700
iscsi/isert-target: Refactor ISCSI_OP_NOOP RX handling
Reported-by: Arshad Hussain <arshad.hussain@calsoftinc.com>
Cc: stable@vger.kernel.org # 3.11+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/tcm_fc')
0 files changed, 0 insertions, 0 deletions