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>
This commit is contained in:

committed by
David S. Miller

parent
a6e225cad3
commit
b2313077ed
@@ -97,7 +97,8 @@ static int __tcf_ipt_init(struct tc_action_net *tn, struct nlattr *nla,
|
||||
struct tcf_ipt *ipt;
|
||||
struct xt_entry_target *td, *t;
|
||||
char *tname;
|
||||
int ret = 0, err, exists = 0;
|
||||
bool exists = false;
|
||||
int ret = 0, err;
|
||||
u32 hook = 0;
|
||||
u32 index = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user