Skip to content

net_sched: Fix HFSC qlen/backlog accounting bug and add selftest

Cong Wang netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue()net/sched/sch_hfsc.c+3 -31 replyApplied
2/2selftests/tc-testing: Add an HFSC qlen accounting testtools/testing/selftests/tc-testing/tc-tests/infra/qdiscs.json+27 -01 replyApplied

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.

PatchSimon HormanJamal Hadi Salim
SeriesR-b
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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