diff options
author | Alexander Aring <aring@mojatatu.com> | 2018-01-18 11:20:51 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-19 15:52:51 -0500 |
commit | 7306db38a67cf6b8e1ca354b1d0c0117b7b880d5 (patch) | |
tree | 61955b0d0434a5edc5fc233648093929d111f257 /net/sched/cls_u32.c | |
parent | c35a4acc298528ac7ac8d21284af7cad981aa79d (diff) | |
download | linux-stable-7306db38a67cf6b8e1ca354b1d0c0117b7b880d5.tar.gz linux-stable-7306db38a67cf6b8e1ca354b1d0c0117b7b880d5.tar.bz2 linux-stable-7306db38a67cf6b8e1ca354b1d0c0117b7b880d5.zip |
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>
Diffstat (limited to 'net/sched/cls_u32.c')
-rw-r--r-- | net/sched/cls_u32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/cls_u32.c b/net/sched/cls_u32.c index 84129b3c14e5..d9cadebc7eaa 100644 --- a/net/sched/cls_u32.c +++ b/net/sched/cls_u32.c @@ -893,7 +893,8 @@ static struct tc_u_knode *u32_init_knode(struct tcf_proto *tp, static int u32_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) { struct tc_u_common *tp_c = tp->data; struct tc_u_hnode *ht; |