Re: [PATCH net-next] tcp: fix tcp_rearm_rto()

2017-05-18 Thread David Miller
From: Eric Dumazet Date: Thu, 18 May 2017 09:15:58 -0700 > From: Eric Dumazet > > skbs in (re)transmit queue no longer have a copy of jiffies > at the time of the transmit : skb->skb_mstamp is now in usec unit, > with no correlation to tcp_jiffies32. > > We have to convert rto from jiffies to

Re: [PATCH net-next] tcp: fix tcp_rearm_rto()

2017-05-18 Thread Soheil Hassas Yeganeh
On Thu, May 18, 2017 at 12:15 PM, Eric Dumazet wrote: > From: Eric Dumazet > > skbs in (re)transmit queue no longer have a copy of jiffies > at the time of the transmit : skb->skb_mstamp is now in usec unit, > with no correlation to tcp_jiffies32. > > We have to convert rto from jiffies to usec,

[PATCH net-next] tcp: fix tcp_rearm_rto()

2017-05-18 Thread Eric Dumazet
From: Eric Dumazet skbs in (re)transmit queue no longer have a copy of jiffies at the time of the transmit : skb->skb_mstamp is now in usec unit, with no correlation to tcp_jiffies32. We have to convert rto from jiffies to usec, compute a time difference in usec, then convert the delta to HZ uni