mbox series

[net,v3,0/4] net/sched: fixes for sch_qfq

Message ID 20230711210103.597831-1-pctammela@mojatatu.com (mailing list archive)
Headers show
Series net/sched: fixes for sch_qfq | expand

Message

Pedro Tammela July 11, 2023, 9 p.m. UTC
Patch 1 fixes a regression introduced in 6.4 where the MTU size could be
bigger than 'lmax'.

Patch 3 fixes an issue where the code doesn't account for qdisc_pkt_len()
returning a size bigger then 'lmax'.

Patches 2 and 4 are selftests for the issues above.

v2 -> v3:
 - Added Eric tags
 - Addressed issue in patch 4 pointed by Shaozheng

v1 -> v2:
 - Added another fix and selftest for sch_qfq
 - Addressed comment by Simon
 - Added Jamal acks and Shaozheng tested by

Pedro Tammela (4):
  net/sched: sch_qfq: reintroduce lmax bound check for MTU
  selftests: tc-testing: add tests for qfq mtu sanity check
  net/sched: sch_qfq: account for stab overhead in qfq_enqueue
  selftests: tc-testing: add test for qfq with stab overhead

 net/sched/sch_qfq.c                           | 18 +++-
 .../tc-testing/tc-tests/qdiscs/qfq.json       | 86 +++++++++++++++++++
 2 files changed, 101 insertions(+), 3 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org July 13, 2023, 9:50 a.m. UTC | #1
Hello:

This series was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Tue, 11 Jul 2023 18:00:59 -0300 you wrote:
> Patch 1 fixes a regression introduced in 6.4 where the MTU size could be
> bigger than 'lmax'.
> 
> Patch 3 fixes an issue where the code doesn't account for qdisc_pkt_len()
> returning a size bigger then 'lmax'.
> 
> Patches 2 and 4 are selftests for the issues above.
> 
> [...]

Here is the summary with links:
  - [net,v3,1/4] net/sched: sch_qfq: reintroduce lmax bound check for MTU
    https://git.kernel.org/netdev/net/c/158810b261d0
  - [net,v3,2/4] selftests: tc-testing: add tests for qfq mtu sanity check
    https://git.kernel.org/netdev/net/c/c5a06fdc618d
  - [net,v3,3/4] net/sched: sch_qfq: account for stab overhead in qfq_enqueue
    https://git.kernel.org/netdev/net/c/3e337087c3b5
  - [net,v3,4/4] selftests: tc-testing: add test for qfq with stab overhead
    https://git.kernel.org/netdev/net/c/137f6219da59

You are awesome, thank you!