net: sched: sch: add extack to change class
This patch adds extack support for class change callback api. This prepares to handle extack support inside each specific class implementation. Cc: David Ahern <dsahern@gmail.com> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Alexander Aring <aring@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
2030721cc0
commit
793d81d6a1
@@ -479,7 +479,7 @@ static int fq_codel_init(struct Qdisc *sch, struct nlattr *opt,
|
||||
q->cparams.mtu = psched_mtu(qdisc_dev(sch));
|
||||
|
||||
if (opt) {
|
||||
int err = fq_codel_change(sch, opt, NULL);
|
||||
int err = fq_codel_change(sch, opt, extack);
|
||||
if (err)
|
||||
return err;
|
||||
}
|
||||
|
Reference in New Issue
Block a user