mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 23:21:46 +00:00
[NET_SCHED]: act_api: use PTR_ERR in tcf_action_init/tcf_action_get
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c96c9471dd
commit
ab27cfb85c
3 changed files with 48 additions and 41 deletions
|
@ -114,8 +114,8 @@ extern int tcf_register_action(struct tc_action_ops *a);
|
|||
extern int tcf_unregister_action(struct tc_action_ops *a);
|
||||
extern void tcf_action_destroy(struct tc_action *a, int bind);
|
||||
extern int tcf_action_exec(struct sk_buff *skb, struct tc_action *a, struct tcf_result *res);
|
||||
extern struct tc_action *tcf_action_init(struct nlattr *nla, struct nlattr *est, char *n, int ovr, int bind, int *err);
|
||||
extern struct tc_action *tcf_action_init_1(struct nlattr *nla, struct nlattr *est, char *n, int ovr, int bind, int *err);
|
||||
extern struct tc_action *tcf_action_init(struct nlattr *nla, struct nlattr *est, char *n, int ovr, int bind);
|
||||
extern struct tc_action *tcf_action_init_1(struct nlattr *nla, struct nlattr *est, char *n, int ovr, int bind);
|
||||
extern int tcf_action_dump(struct sk_buff *skb, struct tc_action *a, int, int);
|
||||
extern int tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int, int);
|
||||
extern int tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue