Do not ignore block offsets.
PR: kern/160943 Submitted by: Craig Boston <cb severious net> Reviewed by: Danny Braniss <danny cs huji ac il> MFC after: 1 week
This commit is contained in:
parent
3d2443cc84
commit
8be736b2b3
@ -84,6 +84,7 @@ iscsi_r2t(isc_session_t *sp, pduq_t *opq, pduq_t *pq)
|
|||||||
caddr_t bp = csio->data_ptr;
|
caddr_t bp = csio->data_ptr;
|
||||||
|
|
||||||
bo = ntohl(r2t->bo);
|
bo = ntohl(r2t->bo);
|
||||||
|
bp += MIN(bo, edtl - ddtl);
|
||||||
bleft = ddtl;
|
bleft = ddtl;
|
||||||
|
|
||||||
if(sp->opt.maxXmitDataSegmentLength > 0) // danny's RFC
|
if(sp->opt.maxXmitDataSegmentLength > 0) // danny's RFC
|
||||||
|
Loading…
Reference in New Issue
Block a user