mirror of https://gitee.com/openkylin/linux.git
net_sched: Improve readability of filter processing
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7fbac984f3
commit
7e6e18fbc0
|
@ -1841,7 +1841,7 @@ int tc_classify(struct sk_buff *skb, const struct tcf_proto *tp,
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
return -1;
|
return TC_ACT_UNSPEC; /* signal: continue lookup */
|
||||||
#ifdef CONFIG_NET_CLS_ACT
|
#ifdef CONFIG_NET_CLS_ACT
|
||||||
reset:
|
reset:
|
||||||
if (unlikely(limit++ >= MAX_REC_LOOP)) {
|
if (unlikely(limit++ >= MAX_REC_LOOP)) {
|
||||||
|
|
Loading…
Reference in New Issue