commit | 1c03903e973c276f9e75d6f7f3727b51b97c803b | [log] [tgz] |
---|---|---|
author | Nogah Frankel <nogahf@mellanox.com> | Mon Dec 04 13:31:10 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Feb 25 11:05:47 2018 +0100 |
tree | 83a5a702062cedfed4e6cf893c5dc1eae8c344df | |
parent | 1cb73895efa3cb4420452d89e17984410612c3fc [diff] |
net_sched: red: Avoid devision by zero [ Upstream commit 5c472203421ab4f928aa1ae9e1dbcfdd80324148 ] Do not allow delta value to be zero since it is used as a divisor. Fixes: 8af2a218de38 ("sch_red: Adaptative RED AQM") 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>