diff options
author | Alexander Aring <aring@mojatatu.com> | 2018-01-18 17:20:53 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-19 21:52:51 +0100 |
commit | 571acf2106963d6c1c0ce1ed13e711bd296b2d25 (patch) | |
tree | 136ab501db76d5d91a9edcb608f0d496a87b777a /net/sched/cls_bpf.c | |
parent | net: sched: cls: add extack support for tcf_exts_validate (diff) | |
download | linux-571acf2106963d6c1c0ce1ed13e711bd296b2d25.tar.xz linux-571acf2106963d6c1c0ce1ed13e711bd296b2d25.zip |
net: sched: cls: add extack support for delete callback
This patch adds extack support for classifier delete callback api. This
prepares to handle extack support inside each specific classifier
implementation.
Cc: David Ahern <dsahern@gmail.com>
Signed-off-by: Alexander Aring <aring@mojatatu.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_bpf.c')
-rw-r--r-- | net/sched/cls_bpf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/cls_bpf.c b/net/sched/cls_bpf.c index c86072779b0a..fc024fc3ec2f 100644 --- a/net/sched/cls_bpf.c +++ b/net/sched/cls_bpf.c @@ -295,7 +295,8 @@ static void __cls_bpf_delete(struct tcf_proto *tp, struct cls_bpf_prog *prog) __cls_bpf_delete_prog(prog); } -static int cls_bpf_delete(struct tcf_proto *tp, void *arg, bool *last) +static int cls_bpf_delete(struct tcf_proto *tp, void *arg, bool *last, + struct netlink_ext_ack *extack) { struct cls_bpf_head *head = rtnl_dereference(tp->root); |