diff options
author | Alexandre Ferrieux <alexandre.ferrieux@gmail.com> | 2024-11-13 13:04:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-11-22 17:39:56 +0300 |
commit | 47bb1a7aaee452ccf63aadb00cc0d03e106891b8 (patch) | |
tree | 8d28c6469f64aeb8bdbe2f0ff07734f343deeaf7 /scripts/generate_rust_analyzer.py | |
parent | d7f53c892ee5f08012a1248210bce7c6db474b86 (diff) | |
download | linux-47bb1a7aaee452ccf63aadb00cc0d03e106891b8.tar.xz |
net: sched: u32: Add test case for systematic hnode IDR leaks
commit ca34aceb322bfcd6ab498884f1805ee12f983259 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions