mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue