Files
twx-linux/include/net
Nogah Frankel 27d2bda4f5 net_sched: red: Avoid illegal values
[ Upstream commit 8afa10cbe2 ]

Check the qmin & qmax values doesn't overflow for the given Wlog value.
Check that qmin <= qmax.

Fixes: a783474591 ("[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>
2018-02-25 11:03:40 +01:00
..
…
…
…
…
…
…
…
…
…
…
…
2016-04-20 15:42:04 +09:00
…
…
…
…
…
…
…
…
2018-02-25 11:03:34 +01:00
…
2017-06-07 12:05:59 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-02-25 11:03:40 +01:00
…
…
…
2016-11-15 07:46:36 +01:00
…
…
2017-11-18 11:11:05 +01:00
…
…
…
…
…
…