git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/block/floppy.c: remove macros CALL, WAIT and IWAIT
[safe/jmp/linux-2.6]
/
net
/
sched
/
sch_mq.c
diff --git
a/net/sched/sch_mq.c
b/net/sched/sch_mq.c
index
600c501
..
d1dea3d
100644
(file)
--- a/
net/sched/sch_mq.c
+++ b/
net/sched/sch_mq.c
@@
-193,6
+193,7
@@
static int mq_dump_class_stats(struct Qdisc *sch, unsigned long cl,
struct netdev_queue *dev_queue = mq_queue_get(sch, cl);
sch = dev_queue->qdisc_sleeping;
+ sch->qstats.qlen = sch->q.qlen;
if (gnet_stats_copy_basic(d, &sch->bstats) < 0 ||
gnet_stats_copy_queue(d, &sch->qstats) < 0)
return -1;