[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200528.124751.1622700747294014742.davem@redhat.com>
Date: Thu, 28 May 2020 12:47:51 -0700 (PDT)
From: David Miller <davem@...hat.com>
To: jonas.falkevik@...il.com
Cc: marcelo.leitner@...il.com, lucien.xin@...il.com,
nhorman@...driver.com, vyasevich@...il.com, kuba@...nel.org,
linux-sctp@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] sctp: check assoc before
SCTP_ADDR_{MADE_PRIM,ADDED} event
From: Jonas Falkevik <jonas.falkevik@...il.com>
Date: Wed, 27 May 2020 11:56:40 +0200
> Make sure SCTP_ADDR_{MADE_PRIM,ADDED} are sent only for associations
> that have been established.
>
> These events are described in rfc6458#section-6.1
> SCTP_PEER_ADDR_CHANGE:
> This tag indicates that an address that is
> part of an existing association has experienced a change of
> state (e.g., a failure or return to service of the reachability
> of an endpoint via a specific transport address).
>
> Signed-off-by: Jonas Falkevik <jonas.falkevik@...il.com>
> ---
> Changes in v2:
> - Check asoc state to be at least established.
> Instead of associd being SCTP_FUTURE_ASSOC.
> - Common check for all peer addr change event
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists