diff options
author | Eric Dumazet <edumazet@google.com> | 2018-11-11 06:41:30 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-11 13:54:53 -0800 |
commit | f1c6ea3827b5e5ec62e297bcf4ccfd065326e8f7 (patch) | |
tree | 69036d0cdbfb568233a8838bc1ff9f9b29ab624b /Makefile | |
parent | 1c09f7d073b1d1ce85765c5552e4b40a6b6ba770 (diff) |
tcp: refine tcp_tso_should_defer() after EDT adoption
tcp_tso_should_defer() last step tries to check if the probable
next ACK packet is coming in less than half rtt.
Problem is that the head->tstamp might be in the future,
so we need to use signed arithmetics to avoid overflows.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions