summaryrefslogtreecommitdiff
path: root/include/linux/vmalloc.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-09-15 16:20:01 -0700
committerBen Hutchings <ben@decadent.org.uk>2017-02-23 03:54:01 +0000
commit353c74c7f50084863df40cf3aaeed1fd1320b2d0 (patch)
tree8ee0afbcf59e80a281aff3a427c2ed15ba4b5548 /include/linux/vmalloc.h
parent1fed0e6113dd67f341da7202f98811c42a116b10 (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> [bwh: Backported to 3.16: keep using ktime_to_ns(ktime_get())] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/vmalloc.h')
0 files changed, 0 insertions, 0 deletions