VirtualBox

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


Ignore:
Timestamp:
Dec 1, 2009 3:58:57 PM (15 years ago)
Author:
vboxsync
Message:

NAT: unconditional signal.

File:
1 edited

Legend:

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

    r25125 r25130  
    249249    PDRVNAT pThis = PDMINS_2_DATA(pDrvIns, PDRVNAT);
    250250    int rc;
    251     if (ASMAtomicReadU32(&pThis->cPkt) > 0)
    252     {
    253         rc = RTSemEventSignal(pThis->EventRecv);
    254     }
     251    rc = RTSemEventSignal(pThis->EventRecv);
    255252
    256253    STAM_COUNTER_INC(&pThis->StatNATRecvWakeups);
     
    279276{
    280277    PDRVNAT pThis = PDMINS_2_DATA(pDrvIns, PDRVNAT);
    281     if (ASMAtomicReadU32(&pThis->cUrgPkt) > 0)
    282     {
    283         int rc = RTSemEventSignal(pThis->EventUrgRecv);
    284         AssertRC(rc);
    285     }
     278    int rc = RTSemEventSignal(pThis->EventUrgRecv);
     279    AssertRC(rc);
    286280
    287281    return VINF_SUCCESS;
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