mirror-linux/tools/testing/selftests/tc-testing/tc-tests
Victor Nogueira 59afae2008 selftests/tc-testing: Add QFQ/CBS qlen underflow test
Since CBS was not calling reset for its child qdisc, there are scenarios
where it could cause an underflow on its parent's qlen/backlog. When the
parent is QFQ, a null-ptr deref could occur.

Add a test case that reproduces the underflow followed by a null-ptr
deref scenario.

Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Victor Nogueira <victor@mojatatu.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-05-13 17:53:39 -07:00
..
actions selftests/tc-testing: Add tests exercising act_ife metalist replace behaviour 2026-03-05 07:54:09 -08:00
filters selftests: tc-testing: reduce rshift value 2025-01-04 08:49:47 -08:00
infra selftests/tc-testing: Add QFQ/CBS qlen underflow test 2026-05-13 17:53:39 -07:00
qdiscs selftests/tc-testing: add taprio test for class dump after child delete 2026-04-27 18:41:36 -07:00