VirtualBox

Ignore:
Timestamp:
Mar 13, 2014 8:32:30 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92775
Message:

VBoxNetFlt-darwin.cpp: Don't quit early just because we fail to spot p_count once, since we're potentially subject to a race with others changing the promiscous mode settings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/darwin/VBoxNetFlt-darwin.cpp

    r50761 r50762  
    206206        offTry3 = vboxNetFltDarwinSetAndDiff(pIfNet, 0);
    207207        offTry4 = vboxNetFltDarwinSetAndDiff(pIfNet, 0);
    208 
    209         /* If any attempt has failed we won't continue as our algorithm is flawed. */
    210         if (!offTry1 || !offTry2 || !offTry3 || !offTry4)
    211             break;
    212208        if (offTry1 == offTry2 && offTry2 == offTry3 && offTry3 == offTry4)
    213209        {
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette