Re: [PATCH net-next 2/3] tcp: refine tcp_tso_should_defer() after EDT adoption

2018-11-11 Thread Neal Cardwell
On Sun, Nov 11, 2018 at 9:41 AM Eric Dumazet wrote: > > 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. > > Sig

[PATCH net-next 2/3] tcp: refine tcp_tso_should_defer() after EDT adoption

2018-11-11 Thread Eric Dumazet
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 Acked-by: Soheil Hassas Yeganeh --- net