Nogah Frankel 8001a37b83 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@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-25 11:07:59 +01:00
..
2017-07-11 06:08:58 -04:00
2017-04-05 10:15:20 +02:00
2017-04-24 12:35:56 -04:00
2017-08-31 14:42:19 -07:00
2017-06-15 12:12:40 -04:00
2018-02-22 15:42:23 +01:00
2018-02-25 11:07:59 +01:00
2018-02-22 15:42:23 +01:00