From: Eric Dumazet <[email protected]> Date: Wed, 13 Sep 2017 11:16:45 -0700
> From: Eric Dumazet <[email protected]> > > Denys reported wrong rate estimations with HTB classes. > > It appears the bug was added in linux-4.10, since my tests > where using intervals of one second only. > > HTB using 4 sec default rate estimators, reported rates > were 4x higher. > > We need to properly scale the bytes/packets samples before > integrating them in EWMA. > > Tested: ... > Fixes: 1c0d32fde5bd ("net_sched: gen_estimator: complete rewrite of rate > estimators") > Signed-off-by: Eric Dumazet <[email protected]> > Reported-by: Denys Fedoryshchenko <[email protected]> Applied and queued up for -stable, thanks Eric.
