Changeset 88867 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- May 4, 2021 5:45:48 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/SrvIntNetR0.cpp
r88866 r88867 647 647 648 648 /* The optimized case. */ 649 if (RT_LIKELY( pSG->cSegsUsed == 1 650 || pSG->aSegs[0].cb >= off + cb)) 651 { 652 AssertMsg(pSG->cbTotal == pSG->aSegs[0].cb, ("%#x vs %#x\n", pSG->cbTotal, pSG->aSegs[0].cb)); 649 if (RT_LIKELY(pSG->aSegs[0].cb >= off + cb)) 650 { 651 AssertMsg(pSG->cbTotal >= pSG->aSegs[0].cb, ("%#x vs %#x\n", pSG->cbTotal, pSG->aSegs[0].cb)); 653 652 memcpy(pvBuf, (uint8_t const *)pSG->aSegs[0].pv + off, cb); 654 653 return true;
Note:
See TracChangeset
for help on using the changeset viewer.