diff options
| author | Cong Wang <[email protected]> | 2025-04-17 18:47:32 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-04-24 00:16:50 +0000 |
| commit | 7629d1a04ad2e76709401b655263040486972c2c (patch) | |
| tree | 06c3b2a2a8b47f3ce960a58aba4efe2f4452a81a /net/unix/af_unix.c | |
| parent | net_sched: hfsc: Fix a potential UAF in hfsc_dequeue() too (diff) | |
| download | kernel-7629d1a04ad2e76709401b655263040486972c2c.tar.gz kernel-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 <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Tested-by: Victor Nogueira <[email protected]>
Reviewed-by: Jamal Hadi Salim <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
