diff options
Diffstat (limited to 'include/net/act_api.h')
-rw-r--r-- | include/net/act_api.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/net/act_api.h b/include/net/act_api.h index 3ee4c92afd1b..931738bc5bba 100644 --- a/include/net/act_api.h +++ b/include/net/act_api.h | |||
@@ -99,7 +99,6 @@ struct tc_action_ops { | |||
99 | 99 | ||
100 | int tcf_hash_search(struct tc_action *a, u32 index); | 100 | int tcf_hash_search(struct tc_action *a, u32 index); |
101 | void tcf_hash_destroy(struct tc_action *a); | 101 | void tcf_hash_destroy(struct tc_action *a); |
102 | int tcf_hash_release(struct tc_action *a, int bind); | ||
103 | u32 tcf_hash_new_index(struct tcf_hashinfo *hinfo); | 102 | u32 tcf_hash_new_index(struct tcf_hashinfo *hinfo); |
104 | int tcf_hash_check(u32 index, struct tc_action *a, int bind); | 103 | int tcf_hash_check(u32 index, struct tc_action *a, int bind); |
105 | int tcf_hash_create(u32 index, struct nlattr *est, struct tc_action *a, | 104 | int tcf_hash_create(u32 index, struct nlattr *est, struct tc_action *a, |
@@ -107,6 +106,13 @@ int tcf_hash_create(u32 index, struct nlattr *est, struct tc_action *a, | |||
107 | void tcf_hash_cleanup(struct tc_action *a, struct nlattr *est); | 106 | void tcf_hash_cleanup(struct tc_action *a, struct nlattr *est); |
108 | void tcf_hash_insert(struct tc_action *a); | 107 | void tcf_hash_insert(struct tc_action *a); |
109 | 108 | ||
109 | int __tcf_hash_release(struct tc_action *a, bool bind, bool strict); | ||
110 | |||
111 | static inline int tcf_hash_release(struct tc_action *a, bool bind) | ||
112 | { | ||
113 | return __tcf_hash_release(a, bind, false); | ||
114 | } | ||
115 | |||
110 | int tcf_register_action(struct tc_action_ops *a, unsigned int mask); | 116 | int tcf_register_action(struct tc_action_ops *a, unsigned int mask); |
111 | int tcf_unregister_action(struct tc_action_ops *a); | 117 | int tcf_unregister_action(struct tc_action_ops *a); |
112 | int tcf_action_destroy(struct list_head *actions, int bind); | 118 | int tcf_action_destroy(struct list_head *actions, int bind); |