Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/sched: sch_qfq: reintroduce lmax bound check for MTU
2536989 deletes a check for the case where no 'lmax' is specified which 3037933 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: 2536989 ("net/sched: sch_qfq: refactor parsing of netlink parameters") Acked-by: Jamal Hadi Salim <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Signed-off-by: Pedro Tammela <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
- Loading branch information