[net-next PATCH 1/1] net_sched: Improve readability of filter processing

Subsystems: networking [general], tc subsystem, the rest

STALE3828d

3 messages, 3 authors, 2016-02-18 · open the first message on its own page

[net-next PATCH 1/1] net_sched: Improve readability of filter processing

From: Jamal Hadi Salim <jhs@mojatatu.com>
Date: 2016-02-18 13:04:54

From: Jamal Hadi Salim <jhs@mojatatu.com>

Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
---
 net/sched/sch_api.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c
index af1acf0..de1e176 100644
--- a/net/sched/sch_api.c
+++ b/net/sched/sch_api.c
@@ -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)) {
-- 
1.9.1

Re: [net-next PATCH 1/1] net_sched: Improve readability of filter processing

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2016-02-18 13:51:13

On 02/18/2016 02:04 PM, Jamal Hadi Salim wrote:
From: Jamal Hadi Salim <jhs@mojatatu.com>

Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>

Re: [net-next PATCH 1/1] net_sched: Improve readability of filter processing

From: David Miller <davem@davemloft.net>
Date: 2016-02-18 16:19:31

From: Jamal Hadi Salim <jhs@mojatatu.com>
Date: Thu, 18 Feb 2016 08:04:43 -0500
From: Jamal Hadi Salim <jhs@mojatatu.com>

Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help