VirtualBox

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


Ignore:
Timestamp:
Jul 11, 2008 7:33:19 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
33237
Message:

Don't release the network before unlink the interface, it must be the other way around.

File:
1 edited

Legend:

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

    r10533 r10547  
    993993     */
    994994    if (pIf->pNetwork)
    995         SUPR0ObjRelease(pIf->pNetwork->pvObj, pIf->pSession);
    996     if (pIf->pNetwork)
    997995    {
    998996        PINTNETNETWORK pNetwork = pIf->pNetwork;
     
    10161014        RTSemFastMutexRelease(pNetwork->FastMutex);
    10171015        pIf->pNext = NULL;
     1016
     1017        /*
     1018         * Release or reference to the network.
     1019         */
     1020        SUPR0ObjRelease(pIf->pNetwork->pvObj, pIf->pSession);
     1021        pIf->pNetwork = NULL;
    10181022    }
    10191023
Note: See TracChangeset for help on using the changeset viewer.

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