From: Vlad Yasevich <vladislav.yasevich@hp.com>
To: linux-sctp@vger.kernel.org
Subject: Re: retrans path update problem
Date: Thu, 15 May 2008 12:38:35 +0000 [thread overview]
Message-ID: <482C2ECB.80607@hp.com> (raw)
In-Reply-To: <482AA73D.5000507@cn.fujitsu.com>
Gui Jianfeng wrote:
> Vlad Yasevich wrote:
>> Gui Jianfeng wrote:
>>> hello everybody,
>>> When updating retrans path(asoc->peer.retran_path), should we update
>>> the retran path to another transport even if only the original retrans
>>> path is active?
>>> In the other words, i think, retrans path should always be changed if
>>> there are more than one transport in an association.
>>>
>>> Am i right?
>> And we do that with sctp_assoc_update_retran_path(). If we
>> don't find another active transport, we'll still try set the
>> retran_path to the next transport in the list.
>>
>> Are you asking if we should only use ACTIVE transports?
>
> Vlad,
> I'd like to know, if the current asoc->peer.retran_path is the only active
> transport in the transport list, whether we should change asoc->peer.retran_path
> to another inactive one. The sctp_assoc_update_retran_path() won't change to a
> inactive transport(next one) in this scenario now, is that ok?
I see now. The appears to be a bug in sctp_assoc_update_retran_path(). Even
though it attempts to change to a non-active one based on this comment,
/* We have exhausted the list, but didn't find any
* other active transports. If so, use the next
* transport.
*/
it never does, since it finds the active retran_path and just uses that again.
Feel free to fix.
-vlad
prev parent reply other threads:[~2008-05-15 12:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-14 8:47 retrans path update problem Gui Jianfeng
2008-05-14 14:09 ` Vlad Yasevich
2008-05-15 0:47 ` Gui Jianfeng
2008-05-15 12:38 ` Vlad Yasevich [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=482C2ECB.80607@hp.com \
--to=vladislav.yasevich@hp.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.