From: Gerrit Renker <gerrit@erg.abdn.ac.uk>
To: dccp@vger.kernel.org
Subject: Re: [PATCH 2/6]: Provide fallback RTT value when none is available
Date: Sat, 16 Jun 2007 14:21:04 +0000 [thread overview]
Message-ID: <200706161521.05192@strip-the-willow> (raw)
In-Reply-To: <200706091958.08037@strip-the-willow>
| > [DCCP]: Provide fallback RTT value when none is available
| > @@ -73,9 +73,12 @@ extern void dccp_time_wait(struct sock *
| >
| > #define DCCP_RTO_MAX ((unsigned)(120 * HZ)) /* FIXME: using TCP value */
| >
| > -/* bounds for sampled RTT values from packet exchanges (in usec) */
| > +/*
| > + * RTT sampling: sanity bounds and fallback RTT value from RFC 4340, section 3.4
| > + */
| > #define DCCP_SANE_RTT_MIN 100
| > -#define DCCP_SANE_RTT_MAX (4 * USEC_PER_SEC)
| > +#define DCCP_FALLBACK_RTT (USEC_PER_SEC / 5)
<snip>
|
| I personally think this patch should include the changes where this
| occurs in the code but I know these are in separate patches.
|
I have just checked - the place it is actually used is indeed a bit later in the
change set, in receiver RTT sampling, it is here:
http://www.mail-archive.com/dccp@vger.kernel.org/msg01868.html
+ if (hcrx->ccid3hcrx_rtt = 0) {
+ DCCP_WARN("No RTT estimate available, using fallback RTT\n");
+ hcrx->ccid3hcrx_rtt = DCCP_FALLBACK_RTT;
}
But this patch is also generic: RFC 4340 says that this value (which agrees with
TCP-like values) can be used wherever there is no fallback.
next prev parent reply other threads:[~2007-06-16 14:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-09 18:58 [PATCH 2/6]: Provide fallback RTT value when none is available Gerrit Renker
2007-06-16 5:13 ` Ian McDonald
2007-06-16 14:21 ` Gerrit Renker [this message]
2007-10-21 1:29 ` Ian McDonald
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=200706161521.05192@strip-the-willow \
--to=gerrit@erg.abdn.ac.uk \
--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