Changeset 38054 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt/linux
- Timestamp:
- Jul 19, 2011 8:50:19 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72997
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
r38052 r38054 963 963 return; 964 964 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 968 # if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29) 966 /**967 * There is no need to save ethtool_ops structure since we only modify968 * the pointer itself and the structure is optional (#5712).969 */970 969 pOverride->pfnStartXmit = pDev->hard_start_xmit; 971 970 # else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29) */ 972 pOverride->Ops = *pDev->OVR_OPS;973 971 pOverride->Ops.ndo_start_xmit = vboxNetFltLinuxStartXmitFilter; 974 972 # endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29) */
Note:
See TracChangeset
for help on using the changeset viewer.