commit | b88948fbc7cec03bd97fe5be65264681e98041e8 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Mon Mar 16 19:12:50 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 17 21:16:35 2020 -0700 |
tree | 351e2b1165849c97cc6b2974e713f3b00c3f0447 | |
parent | efe074c2cc1c67021481f56ba87cc61d1ab03e33 [diff] |
net_sched: do not reprogram a timer about to expire qdisc_watchdog_schedule_range_ns() can use the newly added slack and avoid rearming the hrtimer a bit earlier than the current value. This patch has no effect if delta_ns parameter is zero. Note that this means the max slack is potentially doubled. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>