summaryrefslogtreecommitdiff
path: root/net/ipv6/icmp.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-02-11 08:58:18 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-10 10:26:01 +0200
commit56cc1c9c99c423e52a31a1251f1e40e521a65bc8 (patch)
treee50315f1a47d49fc2d588f5df1258d677a271e3e /net/ipv6/icmp.c
parent25151bae5780de2ba9149fcbb8302fadd9ace129 (diff)
tcp: do not set rtt_min to 1
commit 372022830b06d9980c7e8b41fa0a4081cff883b0 upstream. There are some cases where rtt_us derives from deltas of jiffies, instead of using usec timestamps. Since we want to track minimal rtt, better to assume a delta of 0 jiffie might be in fact be very close to 1 jiffie. It is kind of sad jiffies_to_usecs(1) calls a function instead of simply using a constant. Fixes: f672258391b42 ("tcp: track min RTT using windowed min-filter") Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Neal Cardwell <ncardwell@google.com> Cc: Yuchung Cheng <ycheng@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv6/icmp.c')
0 files changed, 0 insertions, 0 deletions