diff options
author | Roman Mashak <mrv@mojatatu.com> | 2018-03-09 00:59:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-09 19:25:11 +0300 |
commit | d04e6990c948a3315ea8eca5979ebea48cda56f4 (patch) | |
tree | 3b376b4e638560a98287db395dcd616ee7f3362d /include | |
parent | 79134e6ce2c9d1a00eab4d98cb48f975dd2474cb (diff) | |
download | linux-d04e6990c948a3315ea8eca5979ebea48cda56f4.tar.xz |
net sched actions: update Add/Delete action API with new argument
Introduce a new function argument to carry total attributes size for
correct allocation of skb in event messages.
Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/act_api.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/act_api.h b/include/net/act_api.h index 9c2f22695025..88c1f99bae46 100644 --- a/include/net/act_api.h +++ b/include/net/act_api.h @@ -166,7 +166,8 @@ int tcf_action_exec(struct sk_buff *skb, struct tc_action **actions, int nr_actions, struct tcf_result *res); int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, struct nlattr *est, char *name, int ovr, int bind, - struct list_head *actions, struct netlink_ext_ack *extack); + struct list_head *actions, size_t *attr_size, + struct netlink_ext_ack *extack); struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp, struct nlattr *nla, struct nlattr *est, char *name, int ovr, int bind, |