diff options
author | Nogah Frankel <nogahf@mellanox.com> | 2017-12-04 13:31:10 +0200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2018-03-03 15:51:44 +0000 |
commit | e45719379ab686bc5fb0999469a7a4a718eeb117 (patch) | |
tree | 861c0d4d86013efc692f1a03f1cb6eeba38416f7 /net | |
parent | c9007a1fc9fa5b383ed5da93552a056eaa1f0ac6 (diff) | |
download | linux-stable-e45719379ab686bc5fb0999469a7a4a718eeb117.tar.gz linux-stable-e45719379ab686bc5fb0999469a7a4a718eeb117.tar.bz2 linux-stable-e45719379ab686bc5fb0999469a7a4a718eeb117.zip |
net_sched: red: Avoid devision by zero
commit 5c472203421ab4f928aa1ae9e1dbcfdd80324148 upstream.
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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions