Skip to content

Introduce CBS reset ops

Jamal Hadi Salim netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/2] Introduce CBS reset ops

QFQ uses qlen to check whether it should reset pointer q->in_serv_agg. When QFQ has a CBS child which has a netem child it is possible to create a scenario where QFQ's qlen goes to 0 but the computation makes it underflow. This then aggrevates a null pointer deref.

Jamal Hadi Salim (1):
net/sched: sch_cbs: Call qdisc_reset for child qdisc

Victor Nogueira (1):
selftests/tc-testing: Add QFQ/CBS qlen underflow test

 net/sched/sch_cbs.c                           | 12 +++++-
 .../tc-testing/tc-tests/infra/qdiscs.json     | 41 +++++++++++++++++++
 2 files changed, 52 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1