Re: [PATCH net-next] pkt_sched: fq: use proper locking in fq_dump_stats()

2016-09-18 Thread David Miller
From: Eric Dumazet Date: Thu, 15 Sep 2016 16:20:01 -0700 > From: Eric Dumazet > > 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 sc

[PATCH net-next] pkt_sched: fq: use proper locking in fq_dump_stats()

2016-09-15 Thread Eric Dumazet
From: Eric Dumazet 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 --- net/sched/sch_fq.c | 32 +