Skip to content
Commit ca34aceb authored by Alexandre Ferrieux's avatar Alexandre Ferrieux Committed by Paolo Abeni
Browse files

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: default avatarAlexandre Ferrieux <alexandre.ferrieux@orange.com>
Acked-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
Reviewed-by: default avatarVictor Nogueira <victor@mojatatu.com>
Link: https://patch.msgid.link/20241113100428.360460-1-alexandre.ferrieux@orange.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent f8d670b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment