summaryrefslogtreecommitdiffstats
path: root/net/sched/cls_u32.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-06-06 09:12:39 -0700
committerDavid S. Miller <davem@davemloft.net>2016-06-07 16:28:11 -0700
commitaafddbf0cffeb790f919436285328c762279b5d4 (patch)
tree485e3d9ec6d58ca1f496cd0e1678b9a0d0ac191c /net/sched/cls_u32.c
parent064d5e6f8eedb071b81b72186f986fa390f7b164 (diff)
downloadblackbird-op-linux-aafddbf0cffeb790f919436285328c762279b5d4.tar.gz
blackbird-op-linux-aafddbf0cffeb790f919436285328c762279b5d4.zip
fq_codel: return non zero qlen in class dumps
We properly scan the flow list to count number of packets, but John passed 0 to gnet_stats_copy_queue() so we report a zero value to user space instead of the result. Fixes: 640158536632 ("net: sched: restrict use of qstats qlen") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: John Fastabend <john.r.fastabend@intel.com> Acked-by: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_u32.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud