diff options
author | Nogah Frankel <nogahf@mellanox.com> | 2017-12-04 14:31:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-25 13:01:20 +0300 |
commit | ed635d8842d471a4e80818243550ffbc82f12341 (patch) | |
tree | 0f5e2ca13460ccd98f5e3e6c9ec89c00354842eb /lib | |
parent | 41daf46f1d93ab7d93862a64c65eb47a247a09eb (diff) | |
download | linux-ed635d8842d471a4e80818243550ffbc82f12341.tar.xz |
net_sched: red: Avoid illegal values
[ Upstream commit 8afa10cbe281b10371fee5a87ab266e48d71a7f9 ]
Check the qmin & qmax values doesn't overflow for the given Wlog value.
Check that qmin <= qmax.
Fixes: a783474591f2 ("[PKT_SCHED]: Generic RED layer")
Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions