Closed GoogleCodeExporter closed 9 years ago
@Daisuke Aoyama, please review the attached patch, based atop
istgt-20141125.tar.gz.
Original comment by ddiss....@gmail.com
on 21 Dec 2014 at 10:19
Attachments:
Pushed to devel_20141125 branch:
commit 8d747dfd7e1414e04d5abf7b7c89876542560c48
Author: David Disseldorp <ddiss@suse.de>
Date: Sun Dec 21 23:12:15 2014 +0100
iscsi: fill residual fields when EDTL is zero
The queued and non-queued SCSI response code paths only calculate and
set the residual fields if ExpectedDataTransferLength is non-zero. This
change ensures that the values are also filled when EDTL is zero.
This bug was found using the libiscsi 0105_read10_invalid "Read10 1
block but with iscsi ExpectedDataTransferLength==0" test.
Signed-off-by: David Disseldorp <ddiss@suse.de>
Original comment by ddiss....@gmail.com
on 22 Dec 2014 at 12:05
Original issue reported on code.google.com by
ddiss....@gmail.com
on 21 Dec 2014 at 9:25