Re: [PATCH net-next 02/10] tcp: do not pass timestamp to tcp_rack_detect_loss()

2017-04-26 Thread Eric Dumazet
On Tue, 2017-04-25 at 10:15 -0700, Eric Dumazet wrote: > We can use tp->tcp_mstamp as it contains a recent timestamp. > > @@ -165,12 +164,10 @@ void tcp_rack_advance(struct tcp_sock *tp, u8 sacked, > u32 end_seq, > void tcp_rack_reo_timeout(struct sock *sk) > { > struct tcp_sock *tp = tc

Re: [PATCH net-next 02/10] tcp: do not pass timestamp to tcp_rack_detect_loss()

2017-04-25 Thread Neal Cardwell
On Tue, Apr 25, 2017 at 1:15 PM, Eric Dumazet wrote: > We can use tp->tcp_mstamp as it contains a recent timestamp. > > This removes a call to skb_mstamp_get() from tcp_rack_reo_timeout() > > Signed-off-by: Eric Dumazet > Acked-by: Soheil Hassas Yeganeh Acked-by: Neal Cardwell neal

[PATCH net-next 02/10] tcp: do not pass timestamp to tcp_rack_detect_loss()

2017-04-25 Thread Eric Dumazet
We can use tp->tcp_mstamp as it contains a recent timestamp. This removes a call to skb_mstamp_get() from tcp_rack_reo_timeout() Signed-off-by: Eric Dumazet Acked-by: Soheil Hassas Yeganeh --- net/ipv4/tcp_recovery.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git