aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_sfq.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched/sch_sfq.c')
-rw-r--r--net/sched/sch_sfq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_sfq.c b/net/sched/sch_sfq.c
index 158dfa641d18..d4afcbc1c6f7 100644
--- a/net/sched/sch_sfq.c
+++ b/net/sched/sch_sfq.c
@@ -871,7 +871,7 @@ static int sfq_dump_class_stats(struct Qdisc *sch, unsigned long cl,
871 qs.qlen = slot->qlen; 871 qs.qlen = slot->qlen;
872 qs.backlog = slot->backlog; 872 qs.backlog = slot->backlog;
873 } 873 }
874 if (gnet_stats_copy_queue(d, &qs) < 0) 874 if (gnet_stats_copy_queue(d, &qs, qs.qlen) < 0)
875 return -1; 875 return -1;
876 return gnet_stats_copy_app(d, &xstats, sizeof(xstats)); 876 return gnet_stats_copy_app(d, &xstats, sizeof(xstats));
877} 877}