mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-02 11:13:02 +09:00
[ Upstream commit8afa10cbe2] 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@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>