From: Vlad Yasevich <vladislav.yasevich@hp.com>
To: linux-sctp@vger.kernel.org
Subject: Re: [PATCH] sctp: allow setting path_maxrxt independent of SPP_PMTUD_ENABLE
Date: Wed, 14 Oct 2009 19:51:51 +0000 [thread overview]
Message-ID: <4AD62BD7.6030609@hp.com> (raw)
In-Reply-To: <20091013203522.GT1700@shell.iptel.org>
Andrei Pelinescu-Onciul wrote:
> Since draft-ietf-tsvwg-sctpsocket-15.txt, setting the
> SPP_MTUD_ENABLE flag when changing pathmaxrxt via the
> SCTP_PEER_ADDR_PARAMS setsockopt is not required any
> longer.
>
applied, thanks
-vlad
> Signed-off-by: Andrei Pelinescu-Onciul <andrei@iptel.org>
> ---
> net/sctp/socket.c | 7 +++----
> 1 files changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/net/sctp/socket.c b/net/sctp/socket.c
> index 2a21d50..1b04ade 100644
> --- a/net/sctp/socket.c
> +++ b/net/sctp/socket.c
> @@ -2300,11 +2300,10 @@ static int sctp_apply_peer_addr_params(struct sctp_paddrparams *params,
> }
> }
>
> - /* Note that unless the spp_flag is set to SPP_PMTUD_ENABLE the value
> - * of this field is ignored. Note also that a value of zero
> - * indicates the current setting should be left unchanged.
> + /* Note that a value of zero indicates the current setting should be
> + left unchanged.
> */
> - if ((params->spp_flags & SPP_PMTUD_ENABLE) && params->spp_pathmaxrxt) {
> + if (params->spp_pathmaxrxt) {
> if (trans) {
> trans->pathmaxrxt = params->spp_pathmaxrxt;
> } else if (asoc) {
prev parent reply other threads:[~2009-10-14 19:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-13 20:35 [PATCH] sctp: allow setting path_maxrxt independent of SPP_PMTUD_ENABLE Andrei Pelinescu-Onciul
2009-10-14 19:51 ` 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=4AD62BD7.6030609@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.