diff options
author | 2023-07-11 18:01:00 -0300 | |
---|---|---|
committer | 2023-07-13 11:11:59 +0200 | |
commit | 158810b261d02fc7dd92ca9c392d8f8a211a2401 (patch) | |
tree | 6fa3c8594ae9ab0de31657dfc1606a729cd8dfd2 /tools/testing | |
parent | Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf... (diff) | |
download | linux-158810b261d02fc7dd92ca9c392d8f8a211a2401.tar.gz linux-158810b261d02fc7dd92ca9c392d8f8a211a2401.tar.bz2 linux-158810b261d02fc7dd92ca9c392d8f8a211a2401.zip |
net/sched: sch_qfq: reintroduce lmax bound check for MTU
25369891fcef deletes a check for the case where no 'lmax' is
specified which 3037933448f6 previously fixed as 'lmax'
could be set to the device's MTU without any bound checking
for QFQ_LMAX_MIN and QFQ_LMAX_MAX. Therefore, reintroduce the check.
Fixes: 25369891fcef ("net/sched: sch_qfq: refactor parsing of netlink parameters")
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions