net_sched: Improve readability of filter processing
authorJamal Hadi Salim <jhs@mojatatu.com>
Thu, 18 Feb 2016 13:04:43 +0000 (08:04 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2016 16:19:12 +0000 (11:19 -0500)
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>
net/sched/sch_api.c

index b5c2cf2aa6d4bc00e5c4bac2b3326db3d785c8be..c9673b5eaf77c97e8d4bae347aad7884b0aaeeab 100644 (file)
@@ -1841,7 +1841,7 @@ reclassify:
                        return err;
        }
 
-       return -1;
+       return TC_ACT_UNSPEC; /* signal: continue lookup */
 #ifdef CONFIG_NET_CLS_ACT
 reset:
        if (unlikely(limit++ >= MAX_REC_LOOP)) {