* [PATCH net-next] net: sched: don't break line in tc_classify loop notification
@ 2015-08-28 16:46 Daniel Borkmann
2015-08-28 17:00 ` Alexei Starovoitov
2015-08-28 21:01 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Daniel Borkmann @ 2015-08-28 16:46 UTC (permalink / raw)
To: davem; +Cc: ast, netdev, Daniel Borkmann
Just some minor noise follow-up to address some stylistic issues of
commit 3b3ae880266d ("net: sched: consolidate tc_classify{,_compat}").
Accidentally v1 instead of v2 of that commit got applied, so this
patch adds the relative diff.
Suggested-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
---
net/sched/sch_api.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c
index a3c70a1..f43c8f3 100644
--- a/net/sched/sch_api.c
+++ b/net/sched/sch_api.c
@@ -1825,8 +1825,7 @@ reclassify:
err = tp->classify(skb, tp, res);
#ifdef CONFIG_NET_CLS_ACT
- if (unlikely(err == TC_ACT_RECLASSIFY &&
- !compat_mode))
+ if (unlikely(err == TC_ACT_RECLASSIFY && !compat_mode))
goto reset;
#endif
if (err >= 0)
@@ -1837,9 +1836,9 @@ reclassify:
#ifdef CONFIG_NET_CLS_ACT
reset:
if (unlikely(limit++ >= MAX_REC_LOOP)) {
- net_notice_ratelimited("%s: reclassify loop, rule prio %u, "
- "protocol %02x\n", tp->q->ops->id,
- tp->prio & 0xffff, ntohs(tp->protocol));
+ net_notice_ratelimited("%s: reclassify loop, rule prio %u, protocol %02x\n",
+ tp->q->ops->id, tp->prio & 0xffff,
+ ntohs(tp->protocol));
return TC_ACT_SHOT;
}
--
1.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: sched: don't break line in tc_classify loop notification
2015-08-28 16:46 [PATCH net-next] net: sched: don't break line in tc_classify loop notification Daniel Borkmann
@ 2015-08-28 17:00 ` Alexei Starovoitov
2015-08-28 21:01 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Alexei Starovoitov @ 2015-08-28 17:00 UTC (permalink / raw)
To: Daniel Borkmann, davem; +Cc: netdev
On 8/28/15 9:46 AM, Daniel Borkmann wrote:
> Just some minor noise follow-up to address some stylistic issues of
> commit 3b3ae880266d ("net: sched: consolidate tc_classify{,_compat}").
> Accidentally v1 instead of v2 of that commit got applied, so this
> patch adds the relative diff.
>
> Suggested-by: Alexei Starovoitov<ast@plumgrid.com>
> Signed-off-by: Daniel Borkmann<daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: sched: don't break line in tc_classify loop notification
2015-08-28 16:46 [PATCH net-next] net: sched: don't break line in tc_classify loop notification Daniel Borkmann
2015-08-28 17:00 ` Alexei Starovoitov
@ 2015-08-28 21:01 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2015-08-28 21:01 UTC (permalink / raw)
To: daniel; +Cc: ast, netdev
From: Daniel Borkmann <daniel@iogearbox.net>
Date: Fri, 28 Aug 2015 18:46:39 +0200
> Just some minor noise follow-up to address some stylistic issues of
> commit 3b3ae880266d ("net: sched: consolidate tc_classify{,_compat}").
> Accidentally v1 instead of v2 of that commit got applied, so this
> patch adds the relative diff.
>
> Suggested-by: Alexei Starovoitov <ast@plumgrid.com>
> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-08-28 21:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-28 16:46 [PATCH net-next] net: sched: don't break line in tc_classify loop notification Daniel Borkmann
2015-08-28 17:00 ` Alexei Starovoitov
2015-08-28 21:01 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).