VirtualBox

Changeset 6120 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 18, 2007 10:23:52 AM (17 years ago)
Author:
vboxsync
Message:

fix crash if network card was not attached

File:
1 edited

Legend:

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

    r5999 r6120  
    14811481                CSR_CRST(pData) = ((uint32_t *)&rmd)[1] >> 16; /* Receive Status */
    14821482#ifdef IN_RING3
    1483                 pData->pDrv->pfnNotifyCanReceive(pData->pDrv);
     1483                if (pData->pDrv)
     1484                    pData->pDrv->pfnNotifyCanReceive(pData->pDrv);
    14841485#else
    14851486                PPDMQUEUEITEMCORE pItem = PDMQueueAlloc(CTXSUFF(pData->pCanRxQueue));
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