diff options
| author | Alexander Aring <[email protected]> | 2017-12-20 17:35:16 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-12-21 17:32:50 +0000 |
| commit | cbaacc4e8a394d63bcd707775ca5bb7a51aaabee (patch) | |
| tree | 72ca1d66f5b6afd0618436ce186762400c7a1361 /net/sched/cls_api.c | |
| parent | net: sched: sch: add extack to change class (diff) | |
| download | kernel-cbaacc4e8a394d63bcd707775ca5bb7a51aaabee.tar.gz kernel-cbaacc4e8a394d63bcd707775ca5bb7a51aaabee.zip | |
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 <[email protected]>
Acked-by: Jamal Hadi Salim <[email protected]>
Signed-off-by: Alexander Aring <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_api.c')
| -rw-r--r-- | net/sched/cls_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c index 32b1ea7cf863..22b977d40e1d 100644 --- a/net/sched/cls_api.c +++ b/net/sched/cls_api.c @@ -793,7 +793,7 @@ replay: } /* And the last stroke */ - block = cops->tcf_block(q, cl); + block = cops->tcf_block(q, cl, extack); if (!block) { err = -EINVAL; goto errout; @@ -1040,7 +1040,7 @@ static int tc_dump_tfilter(struct sk_buff *skb, struct netlink_callback *cb) if (cl == 0) goto out; } - block = cops->tcf_block(q, cl); + block = cops->tcf_block(q, cl, NULL); if (!block) goto out; |
