sch_htb: do not report fake rate estimators
authorEric Dumazet <edumazet@google.com>
Fri, 21 Oct 2016 16:02:43 +0000 (09:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Oct 2016 21:13:49 +0000 (17:13 -0400)
commit73e42ff72a86e930dd873f47ea3029dc53f82c25
treeb5a282ac7fb01741acf81d386223209dec8a2c3b
parent432490f9d455fb842d70219f22d9d2c812371676
sch_htb: do not report fake rate estimators

When I prepared commit d250a5f90e53 ("pkt_sched: gen_estimator: Dont
report fake rate estimators"), htb still had an implicit rate estimator
for all its classes.

Then later, I made this rate estimator optional in commit 64153ce0a7b6
("net_sched: htb: do not setup default rate estimators"), but I forgot
to update htb use of gnet_stats_copy_rate_est()

After this patch, "tc -s qdisc ..." no longer report fake rate
estimators for HTB classes.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c