VirtualBox

Changeset 60819 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
May 4, 2016 9:50:05 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
107025
Message:

Network/SrvIntR0: Fix debug assertion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/SrvIntNetR0.cpp

    r60525 r60819  
    775775DECLINLINE(int) intnetR0IfRetain(PINTNETIF pIf, PSUPDRVSESSION pSession)
    776776{
    777     Assert(((PINTNETIF)pIf->pvObj)->hDestructorThread == NIL_RTNATIVETHREAD);
     777    Assert(pIf->hDestructorThread == NIL_RTNATIVETHREAD);
    778778
    779779    int rc = SUPR0ObjAddRefEx(pIf->pvObj, pSession, true /* fNoBlocking */);
     
    794794DECLINLINE(bool) intnetR0IfRelease(PINTNETIF pIf, PSUPDRVSESSION pSession)
    795795{
    796     Assert(((PINTNETIF)pIf->pvObj)->hDestructorThread == NIL_RTNATIVETHREAD);
     796    Assert(pIf->hDestructorThread == NIL_RTNATIVETHREAD);
    797797
    798798    int rc = SUPR0ObjRelease(pIf->pvObj, pSession);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette