summaryrefslogtreecommitdiff
path: root/drivers/net/vrf.c
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>2017-11-01 16:32:15 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-24 10:33:40 +0300
commitb0e50c4e895aa2e8b8469eb359a43778df3db27e (patch)
treeacf4aaf91dc6a2ece48e7b6b094d72e424d9c13d /drivers/net/vrf.c
parent563c24f65f4fb009047cf4702dd16c7c592fd2b2 (diff)
downloadlinux-b0e50c4e895aa2e8b8469eb359a43778df3db27e.tar.xz
tcp_nv: fix division by zero in tcpnv_acked()
[ Upstream commit 4eebff27ca4182bbf5f039dd60d79e2d7c0a707e ] Average RTT could become zero. This happened in real life at least twice. This patch treats zero as 1us. Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Acked-by: Lawrence Brakmo <Brakmo@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/vrf.c')
0 files changed, 0 insertions, 0 deletions