net: sched: sch: add extack for init callback
This patch adds extack support for init callback to prepare per-qdisc specific changes for extack. 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
0921559811
commit
e63d7dfd2d
@@ -189,7 +189,8 @@ struct Qdisc_ops {
|
||||
struct sk_buff * (*dequeue)(struct Qdisc *);
|
||||
struct sk_buff * (*peek)(struct Qdisc *);
|
||||
|
||||
int (*init)(struct Qdisc *sch, struct nlattr *arg);
|
||||
int (*init)(struct Qdisc *sch, struct nlattr *arg,
|
||||
struct netlink_ext_ack *extack);
|
||||
void (*reset)(struct Qdisc *);
|
||||
void (*destroy)(struct Qdisc *);
|
||||
int (*change)(struct Qdisc *sch,
|
||||
|
Reference in New Issue
Block a user