diff options
author | Eric Dumazet <edumazet@google.com> | 2016-09-16 02:20:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-19 05:15:08 +0300 |
commit | 695b4ec0f0a9cf29deabd3ac075911d58b31f42b (patch) | |
tree | b49222ce804232d11a5dd54be1ec72439ecccb10 /drivers/net/ethernet/rdc | |
parent | db74a3335e0f645e3139c80bcfc90feb01d8e304 (diff) | |
download | linux-695b4ec0f0a9cf29deabd3ac075911d58b31f42b.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/rdc')
0 files changed, 0 insertions, 0 deletions