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:03:40 +0300 |
commit | 27d2bda4f592e1cc838d93f1d94eb8ddb372fceb (patch) | |
tree | 73d3775228d4c1b92249be1ecbbd05fde80b2722 /fs/btrfs/ioctl.c | |
parent | ba51edae4b38ed49fafd7276440b43faf5cde29e (diff) | |
download | linux-27d2bda4f592e1cc838d93f1d94eb8ddb372fceb.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 'fs/btrfs/ioctl.c')
0 files changed, 0 insertions, 0 deletions