summaryrefslogtreecommitdiffstats
path: root/net/sched/act_csum.c
diff options
context:
space:
mode:
authorAlexander Aring <aring@mojatatu.com>2018-02-15 16:54:57 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-16 22:05:03 +0100
commit331a9295de23a9428adb7f593d0701d393a2079e (patch)
tree20ebe804e3214924925f7cdeb82fb030d03e2a71 /net/sched/act_csum.c
parentnet: sched: act: add extack to init callback (diff)
downloadlinux-331a9295de23a9428adb7f593d0701d393a2079e.tar.xz
linux-331a9295de23a9428adb7f593d0701d393a2079e.zip
net: sched: act: add extack for lookup callback
This patch adds extack support for act lookup 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_csum.c')
-rw-r--r--net/sched/act_csum.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/act_csum.c b/net/sched/act_csum.c
index 3b8c48bb2683..bdd17b9ef034 100644
--- a/net/sched/act_csum.c
+++ b/net/sched/act_csum.c
@@ -638,7 +638,8 @@ static int tcf_csum_walker(struct net *net, struct sk_buff *skb,
return tcf_generic_walker(tn, skb, cb, type, ops);
}
-static int tcf_csum_search(struct net *net, struct tc_action **a, u32 index)
+static int tcf_csum_search(struct net *net, struct tc_action **a, u32 index,
+ struct netlink_ext_ack *extack)
{
struct tc_action_net *tn = net_generic(net, csum_net_id);