]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/tc-testing: Check backlog stats in gso_skb case
authorWilliam Liu <will@willsroot.io>
Tue, 12 Aug 2025 23:58:26 +0000 (23:58 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Aug 2025 00:52:29 +0000 (17:52 -0700)
commit8c06cbdcbaea34d7b96d76df4d6669275c1d291a
treecd1755845e28d8ef322d4f655412f9052b65936d
parent52bf272636bda69587952b35ae97690b8dc89941
selftests/tc-testing: Check backlog stats in gso_skb case

Add tests to ensure proper backlog accounting in hhf, codel, pie, fq,
fq_pie, and fq_codel qdiscs. We check for the bug pattern originally
found in fq, fq_pie, and fq_codel, which was an underflow in the tbf
parent backlog stats upon child qdisc removal.

Signed-off-by: William Liu <will@willsroot.io>
Reviewed-by: Savino Dicanosa <savy@syst3mfailure.io>
Link: https://patch.msgid.link/20250812235808.45281-1-will@willsroot.io
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/tc-testing/tc-tests/infra/qdiscs.json