aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_api.c
diff options
context:
space:
mode:
authorAlexander Aring <aring@mojatatu.com>2017-12-20 12:35:13 -0500
committerDavid S. Miller <davem@davemloft.net>2017-12-21 12:32:50 -0500
commite63d7dfd2df7aa204849599c6f378e627e926657 (patch)
tree6d6be497e9eb9556723580a9cb31cd42e6e5c20b /net/sched/sch_api.c
parentnet: sched: sch_api: handle generic qdisc errors (diff)
downloadlinux-dev-e63d7dfd2df7aa204849599c6f378e627e926657.tar.xz
linux-dev-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 '')
-rw-r--r--net/sched/sch_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c
index 954c0fc45473..49ee016347d2 100644
--- a/net/sched/sch_api.c
+++ b/net/sched/sch_api.c
@@ -1084,7 +1084,7 @@ static struct Qdisc *qdisc_create(struct net_device *dev,
}
if (ops->init) {
- err = ops->init(sch, tca[TCA_OPTIONS]);
+ err = ops->init(sch, tca[TCA_OPTIONS], extack);
if (err != 0)
goto err_out5;
}