diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2016-06-13 23:46:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-15 22:43:35 +0300 |
commit | b2313077ed0db35ee186905d8076a737248edd24 (patch) | |
tree | 3fdd2518d4a32669fd03a3d5a8e7376c7317da87 /include/net/act_api.h | |
parent | a6e225cad3659ac904c81dbbbc9b5725a3d67ae2 (diff) | |
download | linux-b2313077ed0db35ee186905d8076a737248edd24.tar.xz |
net_sched: make tcf_hash_check() boolean
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/act_api.h')
-rw-r--r-- | include/net/act_api.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/act_api.h b/include/net/act_api.h index db218a12efb5..fb82b5b5d9e7 100644 --- a/include/net/act_api.h +++ b/include/net/act_api.h @@ -155,8 +155,8 @@ int tcf_generic_walker(struct tc_action_net *tn, struct sk_buff *skb, struct tc_action *a); int tcf_hash_search(struct tc_action_net *tn, struct tc_action *a, u32 index); u32 tcf_hash_new_index(struct tc_action_net *tn); -int tcf_hash_check(struct tc_action_net *tn, u32 index, struct tc_action *a, - int bind); +bool tcf_hash_check(struct tc_action_net *tn, u32 index, struct tc_action *a, + int bind); int tcf_hash_create(struct tc_action_net *tn, u32 index, struct nlattr *est, struct tc_action *a, int size, int bind, bool cpustats); void tcf_hash_cleanup(struct tc_action *a, struct nlattr *est); |