VirtualBox

Changeset 38063 in vbox for trunk


Ignore:
Timestamp:
Jul 19, 2011 9:58:08 AM (13 years ago)
Author:
vboxsync
Message:

netflt: yet another attempt to fix regression introduced in r72926

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c

    r38062 r38063  
    959959    RTSPINLOCKTMP               Tmp = RTSPINLOCKTMP_INITIALIZER;
    960960
     961    /* Cancel override if ethtool_ops is missing (host-only case, #5712) */
     962    if (!VALID_PTR(pDev->OVR_OPS))
     963        return;
    961964    pOverride = RTMemAlloc(sizeof(*pOverride));
    962965    if (!pOverride)
    963966        return;
    964967    pOverride->pOrgOps              = pDev->OVR_OPS;
    965     /* Cancel override if ethtool_ops is missing (host-only case, #5712) */
    966     if (!VALID_PTR(pDev->OVR_OPS))
    967         return;
    968968    pOverride->Ops                  = *pDev->OVR_OPS;
    969969# if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
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