]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/sched/act_ipt.c
net_sched: make tcf_hash_check() boolean
[karo-tx-linux.git] / net / sched / act_ipt.c
index 8998a3594e86c9ec448d3c6d0dcea14f915b8810..6148e323ed93b8a0bc1c8c0c02157a748f44171e 100644 (file)
@@ -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;