Thread (4 messages) 4 messages, 2 authors, 1d ago

Re: [PATCH net-next v4] net/sched: cap the accounted backlog before it can wrap

flat view

From: Simon Horman <horms@kernel.org>
Date: 2026-10-06 15:30:48

On Fri, Oct 02, 2026 at 03:44:31AM -0400, Jamal Hadi Salim wrote:

...
quoted hunk ↗ jump to hunk
diff --git a/net/sched/sch_cake.c b/net/sched/sch_cake.c
...
quoted hunk ↗ jump to hunk
@@ -1712,18 +1738,24 @@ static struct cake_tin_data *cake_select_tin(struct Qdisc *sch,
 	return &qd->tins[tin];
 }
 
-static u32 cake_classify(struct Qdisc *sch, struct cake_tin_data **t,
-			 struct sk_buff *skb, int flow_mode, int *qerr)
+/* Run the optional external classifier. Returns true when the packet was
+ * consumed by a terminal TC action (reason in *qerr); else *flow/*host
FYI:

W=1 builds complain that the line above has a '/*' embedded in a comment.
This is likely why Sashiko NIPA didn't run for this series.

...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help