Skip to content

Backport of missing net/sched idempotent patches

Siddh Raman Pant linux-api linux-patches linux-tegra lkml netfilter-devel stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4sch_drr: make drr_qlen_notify() idempotentnet/sched/sch_drr.c+4 -31 reply
2/4sch_hfsc: make hfsc_qlen_notify() idempotentnet/sched/sch_hfsc.c+6 -21 reply
3/4sch_qfq: make qfq_qlen_notify() idempotentnet/sched/sch_qfq.c+5 -21 reply
4/4codel: remove sch->q.qlen check before qdisc_tree_reduce_backlog()net/sched/sch_codel.c net/sched/sch_fq_codel.c+3 -81 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchSimon HormanJamal Hadi Salim
1/4R-b A-b A-b
2/4R-b A-b A-b
3/4R-b A-b A-b
4/4R-b A-b A-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 v5.4 0/4] Backport of missing net/sched idempotent patches

Just did a cherry-pick.

There was a trivial conflict which was due to an extra init line added in sch_drr.c, traced back to 67c9e6270f30.

sch_ets.c doesn't exist so didn't (rather can't) put that commit.

I don't have the vulnerability reproducer so I cannot test, but it looks okay to me as the original logic applied cleanly.

Thanks,
Siddh

Cong Wang (4):
sch_drr: make drr_qlen_notify() idempotent
sch_hfsc: make hfsc_qlen_notify() idempotent
sch_qfq: make qfq_qlen_notify() idempotent
codel: remove sch->q.qlen check before qdisc_tree_reduce_backlog()

 net/sched/sch_codel.c    | 5 +----
 net/sched/sch_drr.c      | 7 ++++---
 net/sched/sch_fq_codel.c | 6 ++----
 net/sched/sch_hfsc.c     | 8 ++++++--
 net/sched/sch_qfq.c      | 7 +++++--
 5 files changed, 18 insertions(+), 15 deletions(-)
Signature · 1 line
2.47.2