Changeset 30924 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Jul 20, 2010 9:22:05 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 63791
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
r30810 r30924 623 623 #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) */ 624 624 PVBOXNETQDISCPRIV pPriv; 625 struct Qdisc *pQdisc ;625 struct Qdisc *pQdisc, *pChild; 626 626 if (!pDev) 627 627 pDev = ASMAtomicUoReadPtrT(&pThis->u.s.pDev, struct net_device *); … … 646 646 Assert(pPriv->pVBoxNetFlt == pThis); 647 647 ASMAtomicWriteNullPtr(&pPriv->pVBoxNetFlt); 648 pChild = ASMAtomicXchgPtrT(&pPriv->pChild, &noop_qdisc, struct Qdisc *); 649 qdisc_destroy(pChild); /* It won't be the last reference. */ 648 650 649 651 QDISC_LOG(("vboxNetFltLinuxQdiscRemove: refcnt=%d num_tx_queues=%d\n",
Note:
See TracChangeset
for help on using the changeset viewer.