diff options
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/sch_generic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c index bd1892fe4b21..37b86eab6779 100644 --- a/net/sched/sch_generic.c +++ b/net/sched/sch_generic.c | |||
@@ -205,7 +205,7 @@ void __qdisc_run(struct Qdisc *q) | |||
205 | } | 205 | } |
206 | } | 206 | } |
207 | 207 | ||
208 | clear_bit(__QDISC_STATE_RUNNING, &q->state); | 208 | qdisc_run_end(q); |
209 | } | 209 | } |
210 | 210 | ||
211 | unsigned long dev_trans_start(struct net_device *dev) | 211 | unsigned long dev_trans_start(struct net_device *dev) |
@@ -797,7 +797,7 @@ static bool some_qdisc_is_busy(struct net_device *dev) | |||
797 | 797 | ||
798 | spin_lock_bh(root_lock); | 798 | spin_lock_bh(root_lock); |
799 | 799 | ||
800 | val = (test_bit(__QDISC_STATE_RUNNING, &q->state) || | 800 | val = (qdisc_is_running(q) || |
801 | test_bit(__QDISC_STATE_SCHED, &q->state)); | 801 | test_bit(__QDISC_STATE_SCHED, &q->state)); |
802 | 802 | ||
803 | spin_unlock_bh(root_lock); | 803 | spin_unlock_bh(root_lock); |