mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
50a561900e
commit
571acf2106
13 changed files with 26 additions and 14 deletions
|
@ -130,7 +130,8 @@ static void basic_destroy(struct tcf_proto *tp)
|
|||
kfree_rcu(head, rcu);
|
||||
}
|
||||
|
||||
static int basic_delete(struct tcf_proto *tp, void *arg, bool *last)
|
||||
static int basic_delete(struct tcf_proto *tp, void *arg, bool *last,
|
||||
struct netlink_ext_ack *extack)
|
||||
{
|
||||
struct basic_head *head = rtnl_dereference(tp->root);
|
||||
struct basic_filter *f = arg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue