diff options
author | Eric Dumazet <edumazet@google.com> | 2017-05-18 09:15:58 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-18 13:20:31 -0400 |
commit | b17b8a20c5cd4a264601eacf1fda29008047d05a (patch) | |
tree | 07baefa636220a256a0db4f9ff8f2f2d7384a6db /drivers/net/ethernet/hisilicon | |
parent | 4454e8661ffcb707ce1c405b6e112255629562da (diff) |
tcp: fix tcp_rearm_rto()
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 units.
Fixes: 9a568de4818d ("tcp: switch TCP TS option (RFC 7323) to 1ms clock")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon')
0 files changed, 0 insertions, 0 deletions