|
@@ -413,7 +413,7 @@ static int gred_change(struct Qdisc *sch, struct nlattr *opt,
|
|
|
if (tb[TCA_GRED_PARMS] == NULL && tb[TCA_GRED_STAB] == NULL) {
|
|
if (tb[TCA_GRED_PARMS] == NULL && tb[TCA_GRED_STAB] == NULL) {
|
|
|
if (tb[TCA_GRED_LIMIT] != NULL)
|
|
if (tb[TCA_GRED_LIMIT] != NULL)
|
|
|
sch->limit = nla_get_u32(tb[TCA_GRED_LIMIT]);
|
|
sch->limit = nla_get_u32(tb[TCA_GRED_LIMIT]);
|
|
|
- return gred_change_table_def(sch, opt);
|
|
|
|
|
|
|
+ return gred_change_table_def(sch, tb[TCA_GRED_DPS]);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (tb[TCA_GRED_PARMS] == NULL ||
|
|
if (tb[TCA_GRED_PARMS] == NULL ||
|