From: Eric Dumazet <eric.duma...@gmail.com> Date: Thu, 22 Feb 2018 19:45:27 -0800
> From: Eric Dumazet <eduma...@google.com> > > pfifo_fast got percpu stats lately, uncovering a bug I introduced last > year in linux-4.10. > > I missed the fact that we have to clear our temporary storage > before calling __gnet_stats_copy_basic() in the case of percpu stats. > > Without this fix, rate estimators (tc qd replace dev xxx root est 1sec > 4sec pfifo_fast) are utterly broken. > > Fixes: 1c0d32fde5bd ("net_sched: gen_estimator: complete rewrite of rate > estimators") > Signed-off-by: Eric Dumazet <eduma...@google.com> > --- > v2: Perform the zeroing in est_fetch_counters() instead of caller(s) Applied and queued up for -stable.