]> Pileus Git - ~andy/linux/blobdiff - net/sched/sch_tbf.c
sch_tbf: report backlog information
[~andy/linux] / net / sched / sch_tbf.c
index 1dcfb5223a861fec4e5e4e41200b86f070363baf..b8e156319d7bc48c261ccad7110bbeb84ba44856 100644 (file)
@@ -346,6 +346,7 @@ static int tbf_dump(struct Qdisc *sch, struct sk_buff *skb)
        struct nlattr *nest;
        struct tc_tbf_qopt opt;
 
+       sch->qstats.backlog = q->qdisc->qstats.backlog;
        nest = nla_nest_start(skb, TCA_OPTIONS);
        if (nest == NULL)
                goto nla_put_failure;