aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_yeah.c
diff options
context:
space:
mode:
authorYuchung Cheng <ycheng@google.com>2019-01-16 15:05:33 -0800
committerDavid S. Miller <davem@davemloft.net>2019-01-17 15:12:26 -0800
commit9721e709fa68ef9b860c322b474cfbd1f8285b0f (patch)
treebfa0865947efad2293f0d210dbe7451e342eb2da /net/ipv4/tcp_yeah.c
parenttcp: create a helper to model exponential backoff (diff)
downloadlinux-dev-9721e709fa68ef9b860c322b474cfbd1f8285b0f.tar.xz
linux-dev-9721e709fa68ef9b860c322b474cfbd1f8285b0f.zip
tcp: simplify window probe aborting on USER_TIMEOUT
Previously we use the next unsent skb's timestamp to determine when to abort a socket stalling on window probes. This no longer works as skb timestamp reflects the last instead of the first transmission. Instead we can estimate how long the socket has been stalling with the probe count and the exponential backoff behavior. Signed-off-by: Yuchung Cheng <ycheng@google.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Neal Cardwell <ncardwell@google.com> Reviewed-by: Soheil Hassas Yeganeh <soheil@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_yeah.c')
0 files changed, 0 insertions, 0 deletions