From: Daniel Borkmann <dborkman@redhat.com>
To: Zhu Yanjun <zyjzyj2000@gmail.com>
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
vyasevich@gmail.com, tuexen@fh-muenster.de,
khandelwal.deepak.1987@gmail.com, Yue.Tao@windriver.com,
alexandre.dietsch@windriver.com, davem@davemloft.net,
Zhu Yanjun <Yanjun.Zhu@windriver.com>
Subject: Re: [PATCH 1/1] sctp: not send SCTP_PEER_ADDR_CHANGE notifications with failed probe
Date: Mon, 18 Aug 2014 17:01:33 +0200 [thread overview]
Message-ID: <53F2154D.7050600@redhat.com> (raw)
In-Reply-To: <1408094820-11725-2-git-send-email-Yanjun.Zhu@windriver.com>
On 08/15/2014 11:27 AM, Zhu Yanjun wrote:
> When a failed probe comes along UNCONFIRMED path, it is not necessary
> to send SCTP_PEER_ADDR_CHANGE notification.
I do not find this in the RFC, but it seems reasonable - at least, I would
have liked to see a more elaborate commit message from you explaining why
it's okay to do; at least RFC6458 I read:
SCTP_ADDR_UNREACHABLE:
The address specified can no longer be reached. Any data sent
to this address is rerouted to an alternate until this address
becomes reachable. This notification is provided whenever an
address *becomes* unreachable.
Given that the transport has always been in state SCTP_UNCONFIRMED, it
therefore wasn't active before and hasn't been used before, and one could
argue that it doesn't "become" "unreachable" but always has been, so we
wouldn't need to bug the user with a notification about it.
> Reported-by: DEEPAK KHANDELWAL <khandelwal.deepak.1987@gmail.com>
Nit: please write names normally: Deepak Khandelwal
> Suggested-by: Vlad Yasevich <vyasevich@gmail.com>
> Suggested-by: Michael Tuexen <tuexen@fh-muenster.de>
> Signed-off-by: Zhu Yanjun <Yanjun.Zhu@windriver.com>
> ---
> net/sctp/associola.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/net/sctp/associola.c b/net/sctp/associola.c
> index 9de23a2..2e23f6b 100644
> --- a/net/sctp/associola.c
> +++ b/net/sctp/associola.c
> @@ -813,6 +813,7 @@ void sctp_assoc_control_transport(struct sctp_association *asoc,
> else {
> dst_release(transport->dst);
> transport->dst = NULL;
> + ulp_notify = false;
> }
>
> spc_state = SCTP_ADDR_UNREACHABLE;
>
next prev parent reply other threads:[~2014-08-18 15:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-15 9:26 sctp: not send SCTP_PEER_ADDR_CHANGE notifications with failed probe Zhu Yanjun
2014-08-15 9:27 ` [PATCH 1/1] " Zhu Yanjun
2014-08-18 15:01 ` Daniel Borkmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-08-20 9:31 [PATCH V2] " Zhu Yanjun
2014-08-20 9:31 ` [PATCH 1/1] " Zhu Yanjun
2014-08-21 2:06 ` Vlad Yasevich
2014-08-21 8:47 ` Daniel Borkmann
2014-08-22 4:35 ` David Miller
2014-11-20 6:04 Zhu Yanjun
2014-11-20 6:14 ` Willy Tarreau
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=53F2154D.7050600@redhat.com \
--to=dborkman@redhat.com \
--cc=Yanjun.Zhu@windriver.com \
--cc=Yue.Tao@windriver.com \
--cc=alexandre.dietsch@windriver.com \
--cc=davem@davemloft.net \
--cc=khandelwal.deepak.1987@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=tuexen@fh-muenster.de \
--cc=vyasevich@gmail.com \
--cc=zyjzyj2000@gmail.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).