diff options
Diffstat (limited to 'net/sched/sch_hfsc.c')
-rw-r--r-- | net/sched/sch_hfsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_hfsc.c b/net/sched/sch_hfsc.c index 8db3e2c72827..6c2ec4510540 100644 --- a/net/sched/sch_hfsc.c +++ b/net/sched/sch_hfsc.c | |||
@@ -1609,7 +1609,6 @@ hfsc_enqueue(struct sk_buff *skb, struct Qdisc *sch) | |||
1609 | if (cl->qdisc->q.qlen == 1) | 1609 | if (cl->qdisc->q.qlen == 1) |
1610 | set_active(cl, qdisc_pkt_len(skb)); | 1610 | set_active(cl, qdisc_pkt_len(skb)); |
1611 | 1611 | ||
1612 | bstats_update(&cl->bstats, skb); | ||
1613 | sch->q.qlen++; | 1612 | sch->q.qlen++; |
1614 | 1613 | ||
1615 | return NET_XMIT_SUCCESS; | 1614 | return NET_XMIT_SUCCESS; |
@@ -1657,6 +1656,7 @@ hfsc_dequeue(struct Qdisc *sch) | |||
1657 | return NULL; | 1656 | return NULL; |
1658 | } | 1657 | } |
1659 | 1658 | ||
1659 | bstats_update(&cl->bstats, skb); | ||
1660 | update_vf(cl, qdisc_pkt_len(skb), cur_time); | 1660 | update_vf(cl, qdisc_pkt_len(skb), cur_time); |
1661 | if (realtime) | 1661 | if (realtime) |
1662 | cl->cl_cumul += qdisc_pkt_len(skb); | 1662 | cl->cl_cumul += qdisc_pkt_len(skb); |