linux-yocto/tools/testing/selftests/tc-testing/tc-tests
Alexandre Ferrieux ca34aceb32 net: sched: u32: Add test case for systematic hnode IDR leaks
Add a tdc test case to exercise the just-fixed systematic leak of
IDR entries in u32 hnode disposal. Given the IDR in question is
confined to the range [1..0x7FF], it is sufficient to create/delete
the same filter 2048 times to fill it up and get a nonzero exit
status from "tc filter add".

Signed-off-by: Alexandre Ferrieux <alexandre.ferrieux@orange.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Reviewed-by: Victor Nogueira <victor@mojatatu.com>
Link: https://patch.msgid.link/20241113100428.360460-1-alexandre.ferrieux@orange.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-11-14 11:39:17 +01:00
..
actions selftests/tc-testing: require an up to date iproute2 for blockcast tests 2024-03-04 19:30:57 -08:00
filters net: sched: u32: Add test case for systematic hnode IDR leaks 2024-11-14 11:39:17 +01:00
infra selftests/tc-testing: update test definitions for local resources 2023-09-28 09:51:07 +02:00
qdiscs net/sched: taprio: extend minimum interval restriction to entire cycle too 2024-05-28 19:46:41 -07:00