Re: [PATCH v2 net] net_sched: gen_estimator: fix broken estimators based on percpu stats

2018-02-23 Thread David Miller
From: Eric Dumazet Date: Thu, 22 Feb 2018 19:45:27 -0800 > From: Eric Dumazet > > 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 >

[PATCH v2 net] net_sched: gen_estimator: fix broken estimators based on percpu stats

2018-02-22 Thread Eric Dumazet
From: Eric Dumazet 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