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 change callback
This patch adds extack support for classifier change 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
c35a4acc29
commit
7306db38a6
13 changed files with 20 additions and 13 deletions
|
@ -175,7 +175,8 @@ static int basic_set_parms(struct net *net, struct tcf_proto *tp,
|
|||
|
||||
static int basic_change(struct net *net, struct sk_buff *in_skb,
|
||||
struct tcf_proto *tp, unsigned long base, u32 handle,
|
||||
struct nlattr **tca, void **arg, bool ovr)
|
||||
struct nlattr **tca, void **arg, bool ovr,
|
||||
struct netlink_ext_ack *extack)
|
||||
{
|
||||
int err;
|
||||
struct basic_head *head = rtnl_dereference(tp->root);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue