diff options
author | Alexander Aring <aring@mojatatu.com> | 2018-02-15 16:54:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-16 22:05:50 +0100 |
commit | 417801055b8cb4c052e989289ccf24a673178bbc (patch) | |
tree | dac69ce53a4f73721da1a8363f4ae7821682449a /net/sched/act_bpf.c | |
parent | net: sched: act: add extack for lookup callback (diff) | |
download | linux-417801055b8cb4c052e989289ccf24a673178bbc.tar.xz linux-417801055b8cb4c052e989289ccf24a673178bbc.zip |
net: sched: act: add extack for walk callback
This patch adds extack support for act walker callback api. This
prepares to handle extack support inside each specific act
implementation.
Cc: David Ahern <dsahern@gmail.com>
Signed-off-by: Alexander Aring <aring@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_bpf.c')
-rw-r--r-- | net/sched/act_bpf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/act_bpf.c b/net/sched/act_bpf.c index d9654b863347..7e01e2c710c4 100644 --- a/net/sched/act_bpf.c +++ b/net/sched/act_bpf.c @@ -367,7 +367,8 @@ static void tcf_bpf_cleanup(struct tc_action *act) static int tcf_bpf_walker(struct net *net, struct sk_buff *skb, struct netlink_callback *cb, int type, - const struct tc_action_ops *ops) + const struct tc_action_ops *ops, + struct netlink_ext_ack *extack) { struct tc_action_net *tn = net_generic(net, bpf_net_id); |