mbox series

[net,0/4] net_sched: two security bug fixes and test cases

Message ID 20250124060740.356527-1-xiyou.wangcong@gmail.com (mailing list archive)
Headers show
Series net_sched: two security bug fixes and test cases | expand

Message

Cong Wang Jan. 24, 2025, 6:07 a.m. UTC
From: Cong Wang <cong.wang@bytedance.com>

This patchset contains two bug fixes reported in security mailing list,
and test cases for each of them.

---

Cong Wang (2):
  netem: update sch->q.qlen before qdisc_tree_reduce_backlog()
  selftests/tc-testing: add tests for qdisc_tree_reduce_backlog

Quang Le (2):
  pfifo_tail_enqueue: Drop new packet when sch->limit == 0
  Add test case to check for pfifo_tail_enqueue() behaviour when limit
    == 0

 net/sched/sch_fifo.c                          |  3 ++
 net/sched/sch_netem.c                         |  2 +-
 .../tc-testing/tc-tests/infra/qdiscs.json     | 34 ++++++++++++++++++-
 .../tc-testing/tc-tests/qdiscs/fifo.json      | 25 ++++++++++++++
 4 files changed, 62 insertions(+), 2 deletions(-)