]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite3cce99b3af8563937340e839b4bbe6c1d85b1b5
tree46bfe27db1227769eb0c255578c30fe969a56906
parentedbe0e7d0a12ea4e70166d76095b6c32750c16b5
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