commit | 695b4ec0f0a9cf29deabd3ac075911d58b31f42b | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Thu Sep 15 16:20:01 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 18 22:15:08 2016 -0400 |
tree | b49222ce804232d11a5dd54be1ec72439ecccb10 | |
parent | db74a3335e0f645e3139c80bcfc90feb01d8e304 [diff] |
pkt_sched: fq: use proper locking in fq_dump_stats() 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>