Changeset 56120 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
- Timestamp:
- May 28, 2015 5:53:48 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
r56104 r56120 1825 1825 { 1826 1826 PVBOXNETFLTINS pThis = VBOX_FLT_NB_TO_INST(self); 1827 struct net_device *pMyDev = ASMAtomicUoReadPtrT(&pThis->u.s.pDev, struct net_device *); 1827 1828 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0) 1828 1829 struct net_device *pDev = netdev_notifier_info_to_dev(ptr); … … 1833 1834 1834 1835 Log(("VBoxNetFlt: got event %s(0x%lx) on %s, pDev=%p pThis=%p pThis->u.s.pDev=%p\n", 1835 vboxNetFltLinuxGetNetDevEventName(ulEventType), ulEventType, pDev->name, pDev, pThis, ASMAtomicUoReadPtrT(&pThis->u.s.pDev, struct net_device *))); 1836 vboxNetFltLinuxGetNetDevEventName(ulEventType), ulEventType, pDev->name, pDev, pThis, pMyDev)); 1837 1836 1838 if ( ulEventType == NETDEV_REGISTER 1837 1839 && !strcmp(pDev->name, pThis->szName)) … … 1841 1843 else 1842 1844 { 1843 pDev = ASMAtomicUoReadPtrT(&pThis->u.s.pDev, struct net_device *); 1844 if (pDev == ptr) 1845 if (pDev == pMyDev) 1845 1846 { 1846 1847 switch (ulEventType)
Note:
See TracChangeset
for help on using the changeset viewer.