diff options
Diffstat (limited to 'net/sched/sch_htb.c')
-rw-r--r-- | net/sched/sch_htb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c index 3e86fd3a1b78..39db75cd8c17 100644 --- a/net/sched/sch_htb.c +++ b/net/sched/sch_htb.c | |||
@@ -865,7 +865,7 @@ static struct sk_buff *htb_dequeue(struct Qdisc *sch) | |||
865 | /* try to dequeue direct packets as high prio (!) to minimize cpu work */ | 865 | /* try to dequeue direct packets as high prio (!) to minimize cpu work */ |
866 | skb = __skb_dequeue(&q->direct_queue); | 866 | skb = __skb_dequeue(&q->direct_queue); |
867 | if (skb != NULL) { | 867 | if (skb != NULL) { |
868 | sch->flags &= ~TCQ_F_THROTTLED; | 868 | qdisc_unthrottled(sch); |
869 | sch->q.qlen--; | 869 | sch->q.qlen--; |
870 | return skb; | 870 | return skb; |
871 | } | 871 | } |
@@ -901,7 +901,7 @@ static struct sk_buff *htb_dequeue(struct Qdisc *sch) | |||
901 | skb = htb_dequeue_tree(q, prio, level); | 901 | skb = htb_dequeue_tree(q, prio, level); |
902 | if (likely(skb != NULL)) { | 902 | if (likely(skb != NULL)) { |
903 | sch->q.qlen--; | 903 | sch->q.qlen--; |
904 | sch->flags &= ~TCQ_F_THROTTLED; | 904 | qdisc_unthrottled(sch); |
905 | goto fin; | 905 | goto fin; |
906 | } | 906 | } |
907 | } | 907 | } |