VirtualBox

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

netflt: another attempt to fix regression introduced in r72926

File:
1 edited

Legend:

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

    r38054 r38062  
    963963        return;
    964964    pOverride->pOrgOps              = pDev->OVR_OPS;
    965     /* We only need to save ethtool_ops structure if it is present (#5712) */
    966     if (VALID_PTR(pDev->OVR_OPS))
    967         pOverride->Ops              = *pDev->OVR_OPS;
     965    /* Cancel override if ethtool_ops is missing (host-only case, #5712) */
     966    if (!VALID_PTR(pDev->OVR_OPS))
     967        return;
     968    pOverride->Ops                  = *pDev->OVR_OPS;
    968969# if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
    969970    pOverride->pfnStartXmit         = pDev->hard_start_xmit;
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