net_sched: Fix HFSC qlen/backlog accounting bug and add selftest
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue()net/ | +3 | 1 reply | Applied |
| 2/2 | selftests/tc-testing: Add an HFSC qlen accounting testtools/ | +27 | 1 reply | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Simon Horman | Jamal Hadi Salim |
|---|---|---|
| Series | R-b | |
| 1/2 | R-b | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Patch net 0/2] net_sched: Fix HFSC qlen/backlog accounting bug and add selftest
This series addresses a long-standing bug in the HFSC qdisc where queue length and backlog accounting could become inconsistent if a packet is dropped during a peek-induced dequeue operation, and adds a corresponding selftest to tc-testing.
---
Cong Wang (2):
sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue() selftests/tc-testing: Add an HFSC qlen accounting test
net/sched/sch_hfsc.c | 6 ++--- .../tc-testing/tc-tests/infra/qdiscs.json | 27 +++++++++++++++++++ 2 files changed, 30 insertions(+), 3 deletions(-)
Signature · 1 line
2.34.1