summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2025-04-17 21:47:32 +0300
committerJakub Kicinski <kuba@kernel.org>2025-04-24 03:16:50 +0300
commit7629d1a04ad2e76709401b655263040486972c2c (patch)
tree06c3b2a2a8b47f3ce960a58aba4efe2f4452a81a /scripts/gdb/linux/tasks.py
parent6ccbda44e2cc3d26fd22af54c650d6d5d801addf (diff)
downloadlinux-7629d1a04ad2e76709401b655263040486972c2c.tar.xz
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/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions