VirtualBox

Changeset 36470 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 30, 2011 9:36:09 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70854
Message:

VBoxNetNat & tstIntNet: VERR_INTERRUPTED handling (#5620)

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/testcase/tstIntNet-1.cpp

    r35346 r36470  
    448448        WaitReq.cMillies = cMillies - (uint32_t)cElapsedMillies;
    449449        int rc = SUPR3CallVMMR0Ex(NIL_RTR0PTR, NIL_VMCPUID, VMMR0_DO_INTNET_IF_WAIT, 0, &WaitReq.Hdr);
    450         if (rc == VERR_TIMEOUT)
     450        if (rc == VERR_TIMEOUT || rc == VERR_INTERRUPTED)
    451451            break;
    452452        if (RT_FAILURE(rc))
  • trunk/src/VBox/NetworkServices/NAT/VBoxNetNAT.cpp

    r36217 r36470  
    228228        if (RT_FAILURE(rc))
    229229        {
    230             if (rc == VERR_TIMEOUT)
     230            if (rc == VERR_TIMEOUT || rc == VERR_INTERRUPTED)
    231231                continue;
    232232            LogRel(("VBoxNetNAT: VMMR0_DO_INTNET_IF_WAIT returned %Rrc\n", rc));
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