diff options
Diffstat (limited to 'net/sched/sch_netem.c')
-rw-r--r-- | net/sched/sch_netem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_netem.c b/net/sched/sch_netem.c index c2bbbe60d544..c26ef3614f7e 100644 --- a/net/sched/sch_netem.c +++ b/net/sched/sch_netem.c | |||
@@ -266,7 +266,7 @@ static struct sk_buff *netem_dequeue(struct Qdisc *sch) | |||
266 | struct netem_sched_data *q = qdisc_priv(sch); | 266 | struct netem_sched_data *q = qdisc_priv(sch); |
267 | struct sk_buff *skb; | 267 | struct sk_buff *skb; |
268 | 268 | ||
269 | if (sch->flags & TCQ_F_THROTTLED) | 269 | if (qdisc_is_throttled(sch)) |
270 | return NULL; | 270 | return NULL; |
271 | 271 | ||
272 | skb = q->qdisc->ops->peek(q->qdisc); | 272 | skb = q->qdisc->ops->peek(q->qdisc); |