]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: consolidate SYNACK RTT sampling
authorYuchung Cheng <ycheng@google.com>
Mon, 22 Jul 2013 23:20:45 +0000 (16:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jul 2013 00:53:42 +0000 (17:53 -0700)
commit5579e4dcd3fb24c985e88db7cf01a0b298bba1d9
tree2a6c1205f6b136f7ac55f191912b386a0f3b2491
parent21f19048f1c086b3de8feaf4ffe3edb8bed498cb
tcp: consolidate SYNACK RTT sampling

The first patch consolidates SYNACK and other RTT measurement to use a
central function tcp_ack_update_rtt(). A (small) bonus is now SYNACK
RTT measurement happens after PAWS check, potentially reducing the
impact of RTO seeding on bad TCP timestamps values.

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_minisocks.c
net/ipv6/tcp_ipv6.c