From: David Miller <davem@davemloft.net>
To: dccp@vger.kernel.org
Subject: Re: [PATCH 3/6] [DCCP]: Simplify interface of dccp_sample_rtt
Date: Wed, 26 Sep 2007 05:40:52 +0000 [thread overview]
Message-ID: <20070925.224052.34745685.davem@davemloft.net> (raw)
In-Reply-To: <20070922210950.GH4887@ghostprotocols.net>
From: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Date: Sat, 22 Sep 2007 18:09:50 -0300
> The third parameter of dccp_sample_rtt now becomes useless and is removed.
>
> Also combined the subtraction of the timestamp echo and the elapsed time.
> This is safe, since (a) presence of timestamp echo is tested first and (b)
> elapsed time is either present and non-zero or it is not set and equals 0
> due to the memset in dccp_parse_options.
>
> To avoid measuring option-processing time, the timestamp for measuring the
> initial Request/Response RTT sample is taken directly when the function is
> called (the Linux implementation always adds a timestamp on the Request,
> so there is no loss in doing this).
>
> Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
> Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Applied, thanks.
prev parent reply other threads:[~2007-09-26 5:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-22 21:09 [PATCH 3/6] [DCCP]: Simplify interface of dccp_sample_rtt Arnaldo Carvalho de Melo
2007-09-26 5:40 ` David Miller [this message]
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=20070925.224052.34745685.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dccp@vger.kernel.org \
/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