diff options
Diffstat (limited to 'net/sched/sch_tbf.c')
-rw-r--r-- | net/sched/sch_tbf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_tbf.c b/net/sched/sch_tbf.c index 2681d7129..e2de156ab 100644 --- a/net/sched/sch_tbf.c +++ b/net/sched/sch_tbf.c @@ -226,7 +226,7 @@ tbf_dequeue(struct Qdisc* sch) return skb; } - if (!test_bit(LINK_STATE_XOFF, &sch->dev->state)) { + if (!netif_queue_stopped(sch->dev)) { long delay = PSCHED_US2JIFFIE(max(-toks, -ptoks)); if (delay == 0) |