diff options
author | Alexandre Ferrieux <alexandre.ferrieux@gmail.com> | 2024-11-13 11:04:28 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-11-14 11:39:17 +0100 |
commit | ca34aceb322bfcd6ab498884f1805ee12f983259 (patch) | |
tree | 83f14ce4aa250f4bc827aea348bfdac4948191b7 /drivers/platform/x86/intel/pmc/mtl.c | |
parent | f8d670b1ae90cb1c5a18a4698c264e96dedc762c (diff) | |
download | linux-stable-ca34aceb322bfcd6ab498884f1805ee12f983259.tar.gz linux-stable-ca34aceb322bfcd6ab498884f1805ee12f983259.tar.bz2 linux-stable-ca34aceb322bfcd6ab498884f1805ee12f983259.zip |
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>
Diffstat (limited to 'drivers/platform/x86/intel/pmc/mtl.c')
0 files changed, 0 insertions, 0 deletions