aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/sched/sch_red.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/sch_red.c b/net/sched/sch_red.c
index 8d42bb3ba540..a67ba3c5a0cc 100644
--- a/net/sched/sch_red.c
+++ b/net/sched/sch_red.c
@@ -239,6 +239,7 @@ static int red_dump(struct Qdisc *sch, struct sk_buff *skb)
239 .Scell_log = q->parms.Scell_log, 239 .Scell_log = q->parms.Scell_log,
240 }; 240 };
241 241
242 sch->qstats.backlog = q->qdisc->qstats.backlog;
242 opts = nla_nest_start(skb, TCA_OPTIONS); 243 opts = nla_nest_start(skb, TCA_OPTIONS);
243 if (opts == NULL) 244 if (opts == NULL)
244 goto nla_put_failure; 245 goto nla_put_failure;