mbox series

[net,0/2] net/sched: sch_qfq: reintroduce lmax bound check for MTU

Message ID 20230703151038.157771-1-pctammela@mojatatu.com (mailing list archive)
Headers show
Series net/sched: sch_qfq: reintroduce lmax bound check for MTU | expand

Message

Pedro Tammela July 3, 2023, 3:10 p.m. UTC
Reintroduce a bound check for lmax when no attribute is provided and MTU
is used. As the MTU is user controlled, it could be set outside of the
supported bounds for sch_qfq.

Patch 2 introduces tdc test cases to check if these requirements are
still being correctly checked.

Pedro Tammela (2):
  net/sched: sch_qfq: reintroduce lmax bound check for MTU
  selftests: tc-testing: add tests for qfq mtu sanity check

 net/sched/sch_qfq.c                           |  9 +++-
 .../tc-testing/tc-tests/qdiscs/qfq.json       | 48 +++++++++++++++++++
 2 files changed, 56 insertions(+), 1 deletion(-)