diff options
author | Neal Cardwell <ncardwell@google.com> | 2012-09-22 06:18:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-22 21:47:10 +0200 |
commit | e69bebde46b5ddfb7d8f17cae66031e282ebc464 (patch) | |
tree | 74fcce514202365cd6c7178699da1da128f29f7f /net/ipv4/tcp_scalable.c | |
parent | tcp: TCP Fast Open Server - note timestamps and retransmits for SYNACK RTT (diff) | |
download | linux-e69bebde46b5ddfb7d8f17cae66031e282ebc464.tar.xz linux-e69bebde46b5ddfb7d8f17cae66031e282ebc464.zip |
tcp: TCP Fast Open Server - call tcp_validate_incoming() for all packets
A TCP Fast Open (TFO) passive connection must call both
tcp_check_req() and tcp_validate_incoming() for all incoming ACKs that
are attempting to complete the 3WHS.
This is needed to parallel all the action that happens for a non-TFO
connection, where for an ACK that is attempting to complete the 3WHS
we call both tcp_check_req() and tcp_validate_incoming().
For example, upon receiving the ACK that completes the 3WHS, we need
to call tcp_fast_parse_options() and update ts_recent based on the
incoming timestamp value in the ACK.
One symptom of the problem with the previous code was that for passive
TFO connections using TCP timestamps, the outgoing TS ecr values
ignored the incoming TS val value on the ACK that completed the 3WHS.
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_scalable.c')
0 files changed, 0 insertions, 0 deletions