]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/tc-testing: Create tests to exercise ets classes active list misplacements
authorVictor Nogueira <victor@mojatatu.com>
Mon, 8 Dec 2025 19:01:25 +0000 (16:01 -0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 11 Dec 2025 09:36:40 +0000 (01:36 -0800)
commit5914428e0e44c4dcb64ad42cc37fa23a57fd1c5c
tree8227ffb5f017be23a97c6fcb7460d41e72ad13a3
parentb1e125ae425aba9b45252e933ca8df52a843ec70
selftests/tc-testing: Create tests to exercise ets classes active list misplacements

Add a test case for a bug fixed by Jamal [1] and for scenario where an
ets drr class is inserted into the active list twice.

- Try to delete ets drr class' qdisc while still keeping it in the
  active list
- Try to add ets class to the active list twice

[1] https://lore.kernel.org/netdev/20251128151919.576920-1-jhs@mojatatu.com/

Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Victor Nogueira <victor@mojatatu.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/20251208190125.1868423-2-victor@mojatatu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/tc-testing/tc-tests/infra/qdiscs.json