diff options
| author | Konstantin Khlebnikov <[email protected]> | 2017-11-01 13:32:15 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-11-02 07:16:27 +0000 |
| commit | 4eebff27ca4182bbf5f039dd60d79e2d7c0a707e (patch) | |
| tree | 4e4eb972c1a18167c2d5d0e394fb033f4b20b4db /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi... (diff) | |
| download | kernel-4eebff27ca4182bbf5f039dd60d79e2d7c0a707e.tar.gz kernel-4eebff27ca4182bbf5f039dd60d79e2d7c0a707e.zip | |
tcp_nv: fix division by zero in tcpnv_acked()
Average RTT could become zero. This happened in real life at least twice.
This patch treats zero as 1us.
Signed-off-by: Konstantin Khlebnikov <[email protected]>
Acked-by: Lawrence Brakmo <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
