qdisc: allow setting default queuing discipline
[deliverable/linux.git] / net / sched / sch_mq.c
index 5da78a19ac9ac5af653f8f07ba6e2c8deb634683..2e56185736d67d589b78918ff59fd7641eb2377a 100644 (file)
@@ -57,7 +57,7 @@ static int mq_init(struct Qdisc *sch, struct nlattr *opt)
 
        for (ntx = 0; ntx < dev->num_tx_queues; ntx++) {
                dev_queue = netdev_get_tx_queue(dev, ntx);
-               qdisc = qdisc_create_dflt(dev_queue, &pfifo_fast_ops,
+               qdisc = qdisc_create_dflt(dev_queue, default_qdisc_ops,
                                          TC_H_MAKE(TC_H_MAJ(sch->handle),
                                                    TC_H_MIN(ntx + 1)));
                if (qdisc == NULL)
This page took 0.041217 seconds and 5 git commands to generate.