diff options
author | Eric Dumazet <edumazet@google.com> | 2016-09-15 16:20:01 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:21 +0200 |
commit | 191cf872190de28a92e1bd2b56d8860e37e07443 (patch) | |
tree | b6a2a22fe2ed12b76c3af59357438bd1cf2b2263 /include/asm-generic | |
parent | 0869a49fe44d9c7b9a3828bfa18cda157b49952d (diff) |
pkt_sched: fq: use proper locking in fq_dump_stats()
commit 695b4ec0f0a9cf29deabd3ac075911d58b31f42b upstream.
When fq is used on 32bit kernels, we need to lock the qdisc before
copying 64bit fields.
Otherwise "tc -s qdisc ..." might report bogus values.
Fixes: afe4fd062416 ("pkt_sched: fq: Fair Queue packet scheduler")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions