summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_api.c
diff options
context:
space:
mode:
authorAlexander Aring <aring@mojatatu.com>2017-12-20 12:35:16 -0500
committerDavid S. Miller <davem@davemloft.net>2017-12-21 12:32:50 -0500
commitcbaacc4e8a394d63bcd707775ca5bb7a51aaabee (patch)
tree72ca1d66f5b6afd0618436ce186762400c7a1361 /net/sched/sch_api.c
parent793d81d6a1965f1e1806ebc9aacc84a639b90282 (diff)
downloadop-kernel-dev-cbaacc4e8a394d63bcd707775ca5bb7a51aaabee.zip
op-kernel-dev-cbaacc4e8a394d63bcd707775ca5bb7a51aaabee.tar.gz
net: sched: sch: add extack for block callback
This patch adds extack support for block 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_api.c')
-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 6cf2f7d..8c8c15b 100644
--- a/net/sched/sch_api.c
+++ b/net/sched/sch_api.c
@@ -1760,7 +1760,7 @@ static void tc_bind_tclass(struct Qdisc *q, u32 portid, u32 clid,
cl = cops->find(q, portid);
if (!cl)
return;
- block = cops->tcf_block(q, cl);
+ block = cops->tcf_block(q, cl, NULL);
if (!block)
return;
list_for_each_entry(chain, &block->chain_list, list) {
OpenPOWER on IntegriCloud