aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_prio.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched/sch_prio.c')
-rw-r--r--net/sched/sch_prio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/sch_prio.c b/net/sched/sch_prio.c
index a5fa03c0c19b..3fc0c0fa5bcc 100644
--- a/net/sched/sch_prio.c
+++ b/net/sched/sch_prio.c
@@ -230,7 +230,8 @@ static int prio_tune(struct Qdisc *sch, struct rtattr *opt)
230 for (i=0; i<q->bands; i++) { 230 for (i=0; i<q->bands; i++) {
231 if (q->queues[i] == &noop_qdisc) { 231 if (q->queues[i] == &noop_qdisc) {
232 struct Qdisc *child; 232 struct Qdisc *child;
233 child = qdisc_create_dflt(sch->dev, &pfifo_qdisc_ops); 233 child = qdisc_create_dflt(sch->dev, &pfifo_qdisc_ops,
234 TC_H_MAKE(sch->handle, i + 1));
234 if (child) { 235 if (child) {
235 sch_tree_lock(sch); 236 sch_tree_lock(sch);
236 child = xchg(&q->queues[i], child); 237 child = xchg(&q->queues[i], child);