VirtualBox

Ignore:
Timestamp:
Apr 14, 2012 7:05:47 AM (13 years ago)
Author:
vboxsync
Message:

VBoxNetFlt/FreeBSD: Fix crash on VM shutdown if VIMAGE is enabled (Thanks to Mikolaj Golub and Bernhard Froehlich)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-freebsd.c

    r40806 r40912  
    651651        pThis->u.s.node = NULL;
    652652    }
     653    VBOXCURVNET_RESTORE();
    653654
    654655    if (ifp0 != NULL)
     
    657658        vboxNetFltOsInitInstance(pThis, NULL);
    658659    }
    659     VBOXCURVNET_RESTORE();
    660660
    661661    return !ASMAtomicUoReadBool(&pThis->fDisconnectedFromHost);
     
    671671    mtx_destroy(&pThis->u.s.outq.ifq_mtx);
    672672
     673    VBOXCURVNET_SET_FROM_UCRED();
    673674    if (pThis->u.s.node != NULL)
    674675        ng_rmnode_self(pThis->u.s.node);
     676    VBOXCURVNET_RESTORE();
    675677    pThis->u.s.node = NULL;
    676678}
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