diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2016-06-13 22:46:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-15 21:43:35 +0200 |
commit | b2313077ed0db35ee186905d8076a737248edd24 (patch) | |
tree | 3fdd2518d4a32669fd03a3d5a8e7376c7317da87 /net/sched/act_skbedit.c | |
parent | Merge branch 'vrf-ipv6-mcast-link-local' (diff) | |
download | linux-b2313077ed0db35ee186905d8076a737248edd24.tar.xz linux-b2313077ed0db35ee186905d8076a737248edd24.zip |
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 'net/sched/act_skbedit.c')
-rw-r--r-- | net/sched/act_skbedit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/act_skbedit.c b/net/sched/act_skbedit.c index 7e2bc3c2b6da..53d1486cddf7 100644 --- a/net/sched/act_skbedit.c +++ b/net/sched/act_skbedit.c @@ -69,7 +69,8 @@ static int tcf_skbedit_init(struct net *net, struct nlattr *nla, struct tcf_skbedit *d; u32 flags = 0, *priority = NULL, *mark = NULL; u16 *queue_mapping = NULL; - int ret = 0, err, exists = 0; + bool exists = false; + int ret = 0, err; if (nla == NULL) return -EINVAL; |