projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net_sched: make tcf_hash_check() boolean
[cascardo/linux.git]
/
net
/
sched
/
act_simple.c
diff --git
a/net/sched/act_simple.c
b/net/sched/act_simple.c
index
be5fbb5
..
318328d
100644
(file)
--- a/
net/sched/act_simple.c
+++ b/
net/sched/act_simple.c
@@
-86,8
+86,9
@@
static int tcf_simp_init(struct net *net, struct nlattr *nla,
struct nlattr *tb[TCA_DEF_MAX + 1];
struct tc_defact *parm;
struct tcf_defact *d;
+ bool exists = false;
+ int ret = 0, err;
char *defdata;
- int ret = 0, err, exists = 0;
if (nla == NULL)
return -EINVAL;