diff options
author | Alexander Aring <aring@mojatatu.com> | 2017-12-20 18:35:13 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-21 18:32:50 +0100 |
commit | e63d7dfd2df7aa204849599c6f378e627e926657 (patch) | |
tree | 6d6be497e9eb9556723580a9cb31cd42e6e5c20b /net/sched/sch_fq_codel.c | |
parent | net: sched: sch_api: handle generic qdisc errors (diff) | |
download | linux-e63d7dfd2df7aa204849599c6f378e627e926657.tar.xz linux-e63d7dfd2df7aa204849599c6f378e627e926657.zip |
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>
Diffstat (limited to 'net/sched/sch_fq_codel.c')
-rw-r--r-- | net/sched/sch_fq_codel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/sch_fq_codel.c b/net/sched/sch_fq_codel.c index 0305d791ea94..5d0b20898ffa 100644 --- a/net/sched/sch_fq_codel.c +++ b/net/sched/sch_fq_codel.c @@ -458,7 +458,8 @@ static void fq_codel_destroy(struct Qdisc *sch) kvfree(q->flows); } -static int fq_codel_init(struct Qdisc *sch, struct nlattr *opt) +static int fq_codel_init(struct Qdisc *sch, struct nlattr *opt, + struct netlink_ext_ack *extack) { struct fq_codel_sched_data *q = qdisc_priv(sch); int i; |