|
@@ -257,12 +257,7 @@ static int multiq_init(struct Qdisc *sch, struct nlattr *opt)
|
|
for (i = 0; i < q->max_bands; i++)
|
|
for (i = 0; i < q->max_bands; i++)
|
|
q->queues[i] = &noop_qdisc;
|
|
q->queues[i] = &noop_qdisc;
|
|
|
|
|
|
- err = multiq_tune(sch, opt);
|
|
|
|
-
|
|
|
|
- if (err)
|
|
|
|
- kfree(q->queues);
|
|
|
|
-
|
|
|
|
- return err;
|
|
|
|
|
|
+ return multiq_tune(sch, opt);
|
|
}
|
|
}
|
|
|
|
|
|
static int multiq_dump(struct Qdisc *sch, struct sk_buff *skb)
|
|
static int multiq_dump(struct Qdisc *sch, struct sk_buff *skb)
|