tcp: do not expire TCP fastopen cookies
authorEric Dumazet <edumazet@google.com>
Fri, 3 May 2013 19:12:45 +0000 (19:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 May 2013 20:58:02 +0000 (16:58 -0400)
commitefeaa5550e4bfd335396415958fe3615530e5d5c
tree46bfe27db1227769eb0c255578c30fe969a56906
parent13f85203e1060da83d9ec1c1c5a63343eaab8de4
tcp: do not expire TCP fastopen cookies

TCP metric cache expires entries after one hour.

This probably make sense for TCP RTT/RTTVAR/CWND, but not
for TCP fastopen cookies.

Its better to try previous cookie. If it appears to be obsolete,
server will send us new cookie anyway.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_metrics.c