diff options
author | Alexander Aring <aring@mojatatu.com> | 2018-02-15 10:54:56 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-16 16:05:03 -0500 |
commit | 589dad6d71a72dd7912e5070c63f6bf1f561b5cf (patch) | |
tree | 49c839ab9fdf06d97bb89027d3f594db63a71617 /net/sched/act_police.c | |
parent | 84ae017a00776486390e2c0cceb4f717c3f809c1 (diff) | |
download | talos-op-linux-589dad6d71a72dd7912e5070c63f6bf1f561b5cf.tar.gz talos-op-linux-589dad6d71a72dd7912e5070c63f6bf1f561b5cf.zip |
net: sched: act: add extack to init callback
This patch adds extack support for act init callback api. This
prepares to handle extack support inside each specific act
implementation.
Based on work by David Ahern <dsahern@gmail.com>
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 95d3c9097b25..6b6facbe251b 100644 --- a/net/sched/act_police.c +++ b/net/sched/act_police.c @@ -74,7 +74,8 @@ static const struct nla_policy police_policy[TCA_POLICE_MAX + 1] = { static int tcf_act_police_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action **a, - int ovr, int bind) + int ovr, int bind, + struct netlink_ext_ack *extack) { int ret = 0, err; struct nlattr *tb[TCA_POLICE_MAX + 1]; |