diff options
| author | Eric Dumazet <edumazet@google.com> | 2016-06-06 09:12:39 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:29 +0200 |
| commit | ae6cfa66021a40cbe5739a6e363323436ed3b7be (patch) | |
| tree | d7d5d7f54b99b387495bdb093d8c836b789b255a /scripts/patch-kernel | |
| parent | 7b7954183bef7e7e9ca3fd4f20751ee882bc6680 (diff) | |
fq_codel: return non zero qlen in class dumps
commit aafddbf0cffeb790f919436285328c762279b5d4 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
