# Re: \[PATCH net v2\] net/sched: sch\_htb: limit htb\_classify inner-class filter hops

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2026-08-27 20:01:12 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/08/17471606
- Thread: https://ratatoskr.run/netdev/2026/08/17465050/t.md

```text
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [ref]:

On Wed, 26 Aug 2026 11:33:39 -0300 you wrote:
> From: Jamal Hadi Salim <jhs@mojatatu.com>
> 
> htb_classify() follows each filter-selected inner class by switching
> to cl->filter_list, but never bounds the number of hops. A filter on
> an inner class can point back to itself or to another inner class that
> points back, creating an infinite loop in the packet classification
> path with the qdisc lock held and BH disabled — a soft lockup / panic
> from a single packet.
> 
> [...]

Here is the summary with links:
  - [net,v2] net/sched: sch_htb: limit htb_classify inner-class filter hops
    https://git.kernel.org/netdev/net/c/729c4896ab82

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


```
