diff options
author | Alexander Aring <aring@mojatatu.com> | 2018-02-15 10:54:57 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-16 16:05:03 -0500 |
commit | 331a9295de23a9428adb7f593d0701d393a2079e (patch) | |
tree | 20ebe804e3214924925f7cdeb82fb030d03e2a71 /net/sched/act_police.c | |
parent | 589dad6d71a72dd7912e5070c63f6bf1f561b5cf (diff) | |
download | linux-331a9295de23a9428adb7f593d0701d393a2079e.tar.bz2 |
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_police.c')
-rw-r--r-- | net/sched/act_police.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/act_police.c b/net/sched/act_police.c index 6b6facbe251b..1292f880eab0 100644 --- a/net/sched/act_police.c +++ b/net/sched/act_police.c @@ -305,7 +305,8 @@ nla_put_failure: return -1; } -static int tcf_police_search(struct net *net, struct tc_action **a, u32 index) +static int tcf_police_search(struct net *net, struct tc_action **a, u32 index, + struct netlink_ext_ack *extack) { struct tc_action_net *tn = net_generic(net, police_net_id); |