aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/sysctl.c
diff options
context:
space:
mode:
authorNeal Cardwell <ncardwell@google.com>2013-03-04 01:23:05 -0500
committerDavid S. Miller <davem@davemloft.net>2013-03-04 14:12:07 -0500
commitaab2b4bf224ef8358d262f95b568b8ad0cecf0a0 (patch)
treee16e5214f01f53975cb214dc98d153c9c96fe7db /net/sctp/sysctl.c
parentd2123be0e55101742dacd6dae60cdd0f1e2ef302 (diff)
tcp: fix double-counted receiver RTT when leaving receiver fast path
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>
Diffstat (limited to 'net/sctp/sysctl.c')
0 files changed, 0 insertions, 0 deletions