]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit167b81849388048b1a1bc272d3c069d9b2b3742c
treeb5a282ac7fb01741acf81d386223209dec8a2c3b
parente5cb755ff04f202a34d93d20a211093fde5d029c
sch_htb: do not report fake rate estimators

When I prepared commit f9db63fb602a ("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 8e9d15f44159
("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