diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-11-06 20:55:39 -0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-11-07 12:08:56 -0800 |
commit | dbcbc95cd85854588ac80c0a6d98586fa2129418 (patch) | |
tree | 7f8921a0cc0fa357e680ab7d4938bb84afb9d9c1 /lib | |
parent | 95b60f078899a9680688bab909d02169e1fd632e (diff) | |
download | lwn-dbcbc95cd85854588ac80c0a6d98586fa2129418.tar.gz lwn-dbcbc95cd85854588ac80c0a6d98586fa2129418.zip |
iscsi-target: Do not generate REJECTs for zero-length DataOUT
This patch changes iscsit_check_dataout_hdr() to no longer generate
REJECTs for zero-length DataOUTs, and instead simply ignore these
requests.
This follows RFC-3720, Section 10.7.7. DataSegmentLength
"This is the data payload length of a SCSI Data-In or SCSI Data-Out PDU.
The sending of 0 length data segments should be avoided, but initiators
and targets MUST be able to properly receive 0 length data segments."
Reported-by: Santosh Kulkarni <santosh.kulkarni@calsoftinc.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions