From: Daniel Borkmann <dborkman@redhat.com>
To: linux-sctp@vger.kernel.org
Subject: Re: Quick failover question
Date: Fri, 09 Aug 2013 13:03:34 +0000 [thread overview]
Message-ID: <5204E8A6.2050202@redhat.com> (raw)
In-Reply-To: <CAGugRbVL1S1Am7qoz7LK4T3cqpR7-UGXkKvyRxq5AbBrz7tTWA@mail.gmail.com>
On 08/09/2013 02:39 PM, Karl Heiss wrote:
> Hello,
>
> I happened to be perusing the SCTP code in Linus' tree and noticed
> that the following is happening in net/sctp/associola.c,
> sctp_assoc_control_transport():
>
> /* Don't inform ULP about transition from PF to
> * active state and set cwnd to 1, see SCTP
> * Quick failover draft section 5.1, point 5
> */
> if (transport->state = SCTP_PF) {
> ulp_notify = false;
> transport->cwnd = 1;
> }
>
> From the quick failover draft, I see that the cwnd should be 1*MTU.
> This doesn't seem correct as other places set the cwnd as:
>
> transport->cwnd = asoc->pathmtu;
>
> Am I missing something or is this just a simplification?
I think you are correct, that doesn't seem right.
Fix is on its way.
prev parent reply other threads:[~2013-08-09 13:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-09 12:39 Quick failover question Karl Heiss
2013-08-09 13:03 ` Daniel Borkmann [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=5204E8A6.2050202@redhat.com \
--to=dborkman@redhat.com \
--cc=linux-sctp@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.