Changeset 17229 in vbox for trunk/src/VBox
- Timestamp:
- Mar 2, 2009 9:51:38 AM (16 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFlt.c
r17214 r17229 653 653 * 654 654 * If I'm wrong, then please explain in full. 655 * 656 * r=misha: this code is to prevent race conditions between PVBOXNETFLTINS construct (which occurs on binding to adapter 657 * rather than on vboxNetFltFactoryCreateAndConnect for static_config) and destruction, 658 * namely the instance returned by vboxNetFltFindInstanceLocked in vboxNetFltSearchCreateInstance could be actually the instance being removed. 659 * I guess an approach similar to what you added to vboxNetFltFactoryCreateAndConnect could be used in vboxNetFltSearchCreateInstance in this case we could remove 660 * this ugly hack. 655 661 */ 656 662 if (cRefs != 0) … … 1142 1148 AssertRCReturn(rc, rc); 1143 1149 1144 #if defined(VBOX_TAPMINIPORT) && defined(RT_OS_WINDOWS)1145 /* temporary hack to pick up the first adapter */1146 pCur = pGlobals->pInstanceHead; /** @todo Don't for get to remove this temporary hack... :-) */1147 #else1150 //#if defined(VBOX_TAPMINIPORT) && defined(RT_OS_WINDOWS) 1151 // /* temporary hack to pick up the first adapter */ 1152 // pCur = pGlobals->pInstanceHead; /** @todo Don't for get to remove this temporary hack... :-) */ 1153 //#else 1148 1154 pCur = vboxNetFltFindInstanceLocked(pGlobals, pszName); 1149 #endif1155 //#endif 1150 1156 if (pCur) 1151 1157 { -
trunk/src/VBox/Main/win/NetIfList-win.cpp
r17174 r17229 610 610 ULONG uComponentStatus; 611 611 hr = pMpNcc->GetDeviceStatus(&uComponentStatus); 612 #ifndef DEBUG_bird613 Assert(hr == S_OK);614 #endif612 //#ifndef DEBUG_bird 613 // Assert(hr == S_OK); 614 //#endif 615 615 if(hr == S_OK) 616 616 {
Note:
See TracChangeset
for help on using the changeset viewer.