Changeset 55681 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
- Timestamp:
- May 6, 2015 1:05:59 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
r55680 r55681 68 68 #ifndef VBOXNETFLT_LINUX_NO_XMIT_QUEUE 69 69 # define VBOX_FLT_XT_TO_INST(pXT) RT_FROM_MEMBER(pXT, VBOXNETFLTINS, u.s.XmitTask) 70 #endif 71 72 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26) 73 # define VBOX_DEV_NET(dev) dev_net(dev) 74 #else 75 # define VBOX_DEV_NET(dev) ((dev)->nd_net) 70 76 #endif 71 77 … … 2160 2166 if (pThis->pSwitchPort->pfnNotifyHostAddress) 2161 2167 { 2162 struct net *net = dev_net(pThis->u.s.pDev);2168 struct net *net = VBOX_DEV_NET(pThis->u.s.pDev); 2163 2169 struct net_device *dev; 2164 2170
Note:
See TracChangeset
for help on using the changeset viewer.