Changeset 31702 in vbox
- Timestamp:
- Aug 16, 2010 3:15:39 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
r31680 r31702 223 223 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27) 224 224 #define QDISC_IS_BUSY(dev, qdisc) test_bit(__LINK_STATE_SCHED, &dev->state) 225 #el se /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) */225 #elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 36) 226 226 #define QDISC_IS_BUSY(dev, qdisc) (test_bit(__QDISC_STATE_RUNNING, &qdisc->state) || \ 227 227 test_bit(__QDISC_STATE_SCHED, &qdisc->state)) 228 #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) */ 228 #else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) */ 229 #define QDISC_IS_BUSY(dev, qdisc) (qdisc_is_running(q) || \ 230 test_bit(__QDISC_STATE_SCHED, &qdisc->state)) 231 #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) */ 229 232 230 233 struct VBoxNetQDiscPriv
Note:
See TracChangeset
for help on using the changeset viewer.