diff options
| author | Jamal Hadi Salim <jhs@mojatatu.com> | 2026-09-01 17:39:27 -0400 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-05 13:48:08 -0700 |
| commit | 54370e44c002770ae61fc889f28f699e91616ffc (patch) | |
| tree | 424080fb5ebbb074c8bb3e0917088ee76ea489e2 /scripts/basic | |
| parent | 3c01f1ca5dfc6d6911b0e5b37f5062b1dc451b94 (diff) | |
| download | linux-54370e44c002770ae61fc889f28f699e91616ffc.tar.gz linux-54370e44c002770ae61fc889f28f699e91616ffc.zip | |
net/sched: pie: clamp psched_mtu in pie_drop_early
pie_drop_early() calls psched_mtu() with no clamp. With mtu=0x80000000
the bytemode divide silently zeroes the drop probability, disabling AQM.
Clamp to [1, 1<<20].
Conditions to recreate the bug:
CONFIG_NET_SCH_PIE=y. Requires CAP_NET_ADMIN (namespace-local via
unshare -Urn suffices).
tc qdisc add dev dummy0 root pie
tc qdisc change dev dummy0 root pie stab data 32768 size_log 15 cell_log 0
Fixes: d4b36210c2e6 ("net: pkt_sched: PIE AQM scheme")
Reported-by: Vega <vega@nebusec.ai>
Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com>
Tested-by: Victor Nogueira <victor@mojatatu.com>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Link: https://patch.msgid.link/QDISC-0CFC.v3.20260901204856@mojatatu.com.7
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
