diff options
| author | Victor Nogueira <victor@mojatatu.com> | 2026-05-21 12:08:11 -0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-22 10:08:29 -0700 |
| commit | bde2a04d9b6fd0e6442353416cf0de27d6925f0f (patch) | |
| tree | d065587efb4877ee177314949c5b5eb38fb8b2f2 /scripts/patch-kernel | |
| parent | 4177fd4469824b7cb58ef197ede868f9228f4fa7 (diff) | |
selftests/tc-testing: Adapt idempotent qdisc notify callback tests to recent fq_codel changes
Commit 150061a20651 ("net/sched: fq_codel: local packets no longer count against memory limit")
made fq_codel not account for local packets in the
memory limit. Since tests a4bb, a4be, a4bf, a4c0, a4c1 were relying on
these packets being accounted so that parent's qlen notify callback was
executed, they broke.
Fix the tests by adding the qdiscs to ifb instead and making it see
mirred packets that came from scapy. That way the packets are accounted
in the memory limit and the parent's qlen notify callback is still
executed.
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Victor Nogueira <victor@mojatatu.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260521150811.1896373-2-victor@mojatatu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
