diff options
| author | Eric Dumazet <[email protected]> | 2018-02-23 03:45:27 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-02-23 17:35:46 +0000 |
| commit | a5f7add332b4ea6d4b9480971b3b0f5e66466ae9 (patch) | |
| tree | ba06636322eaf68b2e210502fec48a8f7b6dd883 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (diff) | |
| download | kernel-a5f7add332b4ea6d4b9480971b3b0f5e66466ae9.tar.gz kernel-a5f7add332b4ea6d4b9480971b3b0f5e66466ae9.zip | |
net_sched: gen_estimator: fix broken estimators based on percpu stats
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
