VirtualBox

Ignore:
Timestamp:
Nov 13, 2009 12:55:35 PM (15 years ago)
Author:
vboxsync
Message:

slirp_urg_output: increase packet counter after possible failure returns

File:
1 edited

Legend:

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

    r24058 r24635  
    740740    PDRVNAT pThis = (PDRVNAT)pvUser;
    741741    Assert(pThis);
    742     ASMAtomicIncU32(&pThis->cUrgPkt);
    743742
    744743    PRTREQ pReq = NULL;
     
    750749    int rc = RTReqAlloc(pThis->pUrgRecvReqQueue, &pReq, RTREQTYPE_INTERNAL);
    751750    AssertReleaseRC(rc);
     751    ASMAtomicIncU32(&pThis->cUrgPkt);
    752752    pReq->u.Internal.pfn      = (PFNRT)drvNATUrgRecvWorker;
    753753    pReq->u.Internal.cArgs    = 4;
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