From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: edumazet@google.com, ncardwell@google.com, ycheng@google.com,
soheil@google.com, weiwan@google.com, netdev@vger.kernel.org
Subject: Re: [PATCH net-next] tcp: fix tcp_rearm_rto()
Date: Thu, 18 May 2017 13:20:59 -0400 (EDT) [thread overview]
Message-ID: <20170518.132059.1279235795595365192.davem@davemloft.net> (raw)
In-Reply-To: <1495124158.6465.30.camel@edumazet-glaptop3.roam.corp.google.com>
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Thu, 18 May 2017 09:15:58 -0700
> From: Eric Dumazet <edumazet@google.com>
>
> 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>
Applied, thanks Eric.
next prev parent reply other threads:[~2017-05-18 17:21 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-16 20:59 [PATCH net-next 00/15] tcp: TCP TS option use 1 ms clock Eric Dumazet
2017-05-16 21:00 ` [PATCH net-next 01/15] tcp: use tp->tcp_mstamp in output path Eric Dumazet
2017-05-17 13:42 ` Soheil Hassas Yeganeh
2017-05-16 21:00 ` [PATCH net-next 02/15] tcp: introduce tcp_jiffies32 Eric Dumazet
2017-05-17 13:43 ` Soheil Hassas Yeganeh
2017-05-16 21:00 ` [PATCH net-next 03/15] dccp: do not use tcp_time_stamp Eric Dumazet
2017-05-17 13:43 ` Soheil Hassas Yeganeh
2017-05-16 21:00 ` [PATCH net-next 04/15] tcp: use tcp_jiffies32 to feed tp->lsndtime Eric Dumazet
2017-05-17 13:43 ` Soheil Hassas Yeganeh
2017-05-16 21:00 ` [PATCH net-next 05/15] tcp: use tcp_jiffies32 to feed tp->snd_cwnd_stamp Eric Dumazet
2017-05-17 13:45 ` Soheil Hassas Yeganeh
2017-05-16 21:00 ` [PATCH net-next 06/15] tcp_bbr: use tcp_jiffies32 instead of tcp_time_stamp Eric Dumazet
2017-05-17 13:45 ` Soheil Hassas Yeganeh
2017-05-16 21:00 ` [PATCH net-next 07/15] tcp: bic,cubic: " Eric Dumazet
2017-05-17 13:46 ` Soheil Hassas Yeganeh
2017-05-16 21:00 ` [PATCH net-next 08/15] tcp: use tcp_jiffies32 for rcv_tstamp and lrcvtime Eric Dumazet
2017-05-17 13:46 ` Soheil Hassas Yeganeh
2017-05-16 21:00 ` [PATCH net-next 09/15] tcp: use tcp_jiffies32 to feed probe_timestamp Eric Dumazet
2017-05-17 13:46 ` Soheil Hassas Yeganeh
2017-05-16 21:00 ` [PATCH net-next 10/15] tcp: uses jiffies_32 to feed tp->chrono_start Eric Dumazet
2017-05-17 13:46 ` Soheil Hassas Yeganeh
2017-05-16 21:00 ` [PATCH net-next 11/15] tcp: use tcp_jiffies32 in __tcp_oow_rate_limited() Eric Dumazet
2017-05-17 13:47 ` Soheil Hassas Yeganeh
2017-05-16 21:00 ` [PATCH net-next 12/15] tcp_westwood: use tcp_jiffies32 instead of tcp_time_stamp Eric Dumazet
2017-05-17 13:47 ` Soheil Hassas Yeganeh
2017-05-16 21:00 ` [PATCH net-next 13/15] tcp_lp: cache tcp_time_stamp Eric Dumazet
2017-05-17 13:47 ` Soheil Hassas Yeganeh
2017-05-16 21:00 ` [PATCH net-next 14/15] tcp: replace misc tcp_time_stamp to tcp_jiffies32 Eric Dumazet
2017-05-17 13:47 ` Soheil Hassas Yeganeh
2017-05-16 21:00 ` [PATCH net-next 15/15] tcp: switch TCP TS option (RFC 7323) to 1ms clock Eric Dumazet
2017-05-17 13:51 ` Soheil Hassas Yeganeh
2017-05-18 12:33 ` Eric Dumazet
2017-05-18 16:15 ` [PATCH net-next] tcp: fix tcp_rearm_rto() Eric Dumazet
2017-05-18 16:55 ` Soheil Hassas Yeganeh
2017-05-18 17:20 ` David Miller [this message]
2017-05-17 20:06 ` [PATCH net-next 00/15] tcp: TCP TS option use 1 ms clock David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170518.132059.1279235795595365192.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=eric.dumazet@gmail.com \
--cc=ncardwell@google.com \
--cc=netdev@vger.kernel.org \
--cc=soheil@google.com \
--cc=weiwan@google.com \
--cc=ycheng@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).