]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - net/sched/sch_sfb.c
net: sched: make default fifo qdiscs appear in the dump
[thirdparty/kernel/stable.git] / net / sched / sch_sfb.c
index fe6963d2151956c508b510edec680b89201173ce..ae862f172c944283be1cbb56f971cf821cd12bf8 100644 (file)
@@ -513,6 +513,8 @@ static int sfb_change(struct Qdisc *sch, struct nlattr *opt)
        if (IS_ERR(child))
                return PTR_ERR(child);
 
+       if (child != &noop_qdisc)
+               qdisc_hash_add(child, true);
        sch_tree_lock(sch);
 
        qdisc_tree_reduce_backlog(q->qdisc, q->qdisc->q.qlen,