diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2025-04-17 11:47:32 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-23 17:16:50 -0700 |
commit | 7629d1a04ad2e76709401b655263040486972c2c (patch) | |
tree | 06c3b2a2a8b47f3ce960a58aba4efe2f4452a81a /scripts/extract-fwblobs | |
parent | 6ccbda44e2cc3d26fd22af54c650d6d5d801addf (diff) | |
download | linux-stable-7629d1a04ad2e76709401b655263040486972c2c.tar.gz linux-stable-7629d1a04ad2e76709401b655263040486972c2c.tar.bz2 linux-stable-7629d1a04ad2e76709401b655263040486972c2c.zip |
selftests/tc-testing: Add test for HFSC queue emptying during peek operation
Add a selftest to exercise the condition where qdisc implementations
like netem or codel might empty the queue during a peek operation.
This tests the defensive code path in HFSC that checks the queue length
again after peeking to handle this case.
Based on the reproducer from Gerrard, improved by Jamal.
Reported-by: Gerrard Tai <gerrard.tai@starlabs.sg>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Tested-by: Victor Nogueira <victor@mojatatu.com>
Reviewed-by: Jamal Hadi Salim <jhs@mojatatu.com>
Link: https://patch.msgid.link/20250417184732.943057-4-xiyou.wangcong@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions