Re: [PATCH v2] net/sched: Fix divide error in tabledist
From: Cong Wang
Date: Sat Dec 27 2025 - 14:50:01 EST
Hi Manas,
On Mon, Dec 22, 2025 at 11:43:06AM +0530, Manas wrote:
> Previously, a duplication check was added to ensure that a
> duplicating netem cannot exist in a tree with other netems. When
> check_netem_in_tree() fails after parameter updates, the qdisc
> structure is left in an inconsistent state with some new values
> applied but duplicate not updated. Move the tree validation check
> before modifying any qdisc parameters
We are reverting the check_netem_in_tree() code due to user-space
breakage. I hope reverting it could also fix the bug you repported here?
See: https://lore.kernel.org/netdev/20251227194135.1111972-3-xiyou.wangcong@xxxxxxxxx/
Thanks!
Cong