- Timestamp:
- May 5, 2015 11:22:57 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 100043
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvNetShaper.cpp
r45061 r55657 297 297 { 298 298 PDRVNETSHAPER pThis = RT_FROM_MEMBER(pInterface, DRVNETSHAPER, IBaseR0); 299 PDMIBASER0_RETURN_INTERFACE(pThis->pDrvInsR3, pszIID, PDMINETWORKUP, &pThis->INetworkUpR0); 299 /* 300 * We need to check if the underlying driver supports R0. If it does not, 301 * then it is useless and even harmful to support R0 here, as we will end up 302 * returning errors when a network adapter tries to allocate a buffer in R0. 303 */ 304 if (pThis->pIBelowNetR0) 305 PDMIBASER0_RETURN_INTERFACE(pThis->pDrvInsR3, pszIID, PDMINETWORKUP, &pThis->INetworkUpR0); 300 306 return NIL_RTR0PTR; 301 307 }
Note:
See TracChangeset
for help on using the changeset viewer.