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:

committed by
David S. Miller

parent
50a561900e
commit
571acf2106
@@ -316,7 +316,8 @@ static void route4_destroy(struct tcf_proto *tp)
|
||||
kfree_rcu(head, rcu);
|
||||
}
|
||||
|
||||
static int route4_delete(struct tcf_proto *tp, void *arg, bool *last)
|
||||
static int route4_delete(struct tcf_proto *tp, void *arg, bool *last,
|
||||
struct netlink_ext_ack *extack)
|
||||
{
|
||||
struct route4_head *head = rtnl_dereference(tp->root);
|
||||
struct route4_filter *f = arg;
|
||||
|
Reference in New Issue
Block a user