Changeset 73852 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt/win
- Timestamp:
- Aug 23, 2018 8:51:08 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 124545
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetLwf-win.cpp
r73097 r73852 1393 1393 ULONG cSegs = 0; 1394 1394 for (PMDL pMdl = NET_BUFFER_CURRENT_MDL(pNetBuf); pMdl; pMdl = NDIS_MDL_LINKAGE(pMdl)) 1395 cSegs++; 1395 { 1396 /* Skip empty MDLs (see @bugref{9233}) */ 1397 if (MmGetMdlByteCount(pMdl)) 1398 cSegs++; 1399 } 1396 1400 return cSegs; 1397 1401 } … … 1618 1622 } 1619 1623 ULONG cbSrc = MmGetMdlByteCount(pMdl); 1624 if (cbSrc == 0) 1625 continue; /* Skip empty MDLs (see @bugref{9233}) */ 1626 1620 1627 if (uOffset) 1621 1628 {
Note:
See TracChangeset
for help on using the changeset viewer.