Re: [PATCH net] tcp: use current time in tcp_rcv_space_adjust()

2017-12-06 Thread David Miller
From: Eric Dumazet Date: Wed, 06 Dec 2017 11:08:19 -0800 > From: Eric Dumazet > > When I switched rcv_rtt_est to high resolution timestamps, I forgot > that tp->tcp_mstamp needed to be refreshed in tcp_rcv_space_adjust() > > Using an old timestamp leads to autotuning lags. > > Fixes: 645f4c6f

Re: [PATCH net] tcp: use current time in tcp_rcv_space_adjust()

2017-12-06 Thread Neal Cardwell
On Wed, Dec 6, 2017 at 2:08 PM, Eric Dumazet wrote: > From: Eric Dumazet > > When I switched rcv_rtt_est to high resolution timestamps, I forgot > that tp->tcp_mstamp needed to be refreshed in tcp_rcv_space_adjust() > > Using an old timestamp leads to autotuning lags. > > Fixes: 645f4c6f2ebd ("tc

[PATCH net] tcp: use current time in tcp_rcv_space_adjust()

2017-12-06 Thread Eric Dumazet
From: Eric Dumazet When I switched rcv_rtt_est to high resolution timestamps, I forgot that tp->tcp_mstamp needed to be refreshed in tcp_rcv_space_adjust() Using an old timestamp leads to autotuning lags. Fixes: 645f4c6f2ebd ("tcp: switch rcv_rtt_est and rcvq_space to high resolution timestamp