diff options
Diffstat (limited to 'net/sched/sch_fifo.c')
-rw-r--r-- | net/sched/sch_fifo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sched/sch_fifo.c b/net/sched/sch_fifo.c index 5948bafa8ce2..4dfecb0cba37 100644 --- a/net/sched/sch_fifo.c +++ b/net/sched/sch_fifo.c | |||
@@ -172,8 +172,7 @@ struct Qdisc *fifo_create_dflt(struct Qdisc *sch, struct Qdisc_ops *ops, | |||
172 | struct Qdisc *q; | 172 | struct Qdisc *q; |
173 | int err = -ENOMEM; | 173 | int err = -ENOMEM; |
174 | 174 | ||
175 | q = qdisc_create_dflt(qdisc_dev(sch), sch->dev_queue, | 175 | q = qdisc_create_dflt(sch->dev_queue, ops, TC_H_MAKE(sch->handle, 1)); |
176 | ops, TC_H_MAKE(sch->handle, 1)); | ||
177 | if (q) { | 176 | if (q) { |
178 | err = fifo_set_limit(q, limit); | 177 | err = fifo_set_limit(q, limit); |
179 | if (err < 0) { | 178 | if (err < 0) { |