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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226208
@ -84,6 +84,7 @@ iscsi_r2t(isc_session_t *sp, pduq_t *opq, pduq_t *pq)
|
||||
caddr_t bp = csio->data_ptr;
|
||||
|
||||
bo = ntohl(r2t->bo);
|
||||
bp += MIN(bo, edtl - ddtl);
|
||||
bleft = ddtl;
|
||||
|
||||
if(sp->opt.maxXmitDataSegmentLength > 0) // danny's RFC
|
||||
|
Loading…
Reference in New Issue
Block a user