selftests/tc-testing: Test htb_dequeue_tree with deactivation and row emptying
authorWilliam Liu <will@willsroot.io>
Thu, 17 Jul 2025 02:29:47 +0000 (02:29 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Jul 2025 14:47:56 +0000 (07:47 -0700)
commit88b06e4fb4bf9ee36f788cb6f5a65d188341d0e2
treed831ba80dc2db640b7064bd0a1b1440ccaa04ce3
parent0e1d5d9b5c5966e2e42e298670808590db5ed628
selftests/tc-testing: Test htb_dequeue_tree with deactivation and row emptying

Ensure that any deactivation and row emptying that occurs
during htb_dequeue_tree does not cause a kernel panic.
This scenario originally triggered a kernel BUG_ON, and
we are checking for a graceful fail now.

Signed-off-by: William Liu <will@willsroot.io>
Signed-off-by: Savino Dicanosa <savy@syst3mfailure.io>
Link: https://patch.msgid.link/20250717022912.221426-1-will@willsroot.io
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/tc-testing/tc-tests/infra/qdiscs.json