- Timestamp:
- Jul 18, 2011 9:42:33 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
r36950 r37993 960 960 return; 961 961 pOverride->pOrgOps = pDev->OVR_OPS; 962 pOverride->Ops = *pDev->OVR_OPS;963 962 # if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29) 963 /** 964 * There is no need to save ethtool_ops structure since we only modify 965 * the pointer itself and the structure is optional (#5712). 966 */ 964 967 pOverride->pfnStartXmit = pDev->hard_start_xmit; 965 968 # else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29) */ 969 pOverride->Ops = *pDev->OVR_OPS; 966 970 pOverride->Ops.ndo_start_xmit = vboxNetFltLinuxStartXmitFilter; 967 971 # endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29) */
Note:
See TracChangeset
for help on using the changeset viewer.