diff options
author | Neal Cardwell <ncardwell@google.com> | 2013-03-04 06:23:05 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-20 13:10:58 -0700 |
commit | d725632acb3bd015dd6abe2bb01b11a9385f10ea (patch) | |
tree | 4db8ce8211ae559a5a5b440dbf1a484c0fa86341 /net/unix/sysctl_net_unix.c | |
parent | 280b2b998f326449aa18fe3d064c012deaaeaefb (diff) |
tcp: fix double-counted receiver RTT when leaving receiver fast path
[ Upstream commit aab2b4bf224ef8358d262f95b568b8ad0cecf0a0 ]
We should not update ts_recent and call tcp_rcv_rtt_measure_ts() both
before and after going to step5. That wastes CPU and double-counts the
receiver-side RTT sample.
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions