[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200625.161206.1619464748667177222.davem@davemloft.net>
Date: Thu, 25 Jun 2020 16:12:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: marcelo.leitner@...il.com
Cc: netdev@...r.kernel.org, lucien.xin@...il.com,
Michael.Tuexen@...chi.franken.de, vyasevich@...il.com,
nhorman@...driver.com, linux-sctp@...r.kernel.org,
linux-kernel@...r.kernel.org, cminyard@...sta.com
Subject: Re: [PATCH net] sctp: Don't advertise IPv4 addresses if ipv6only
is set on the socket
From: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
Date: Wed, 24 Jun 2020 17:34:18 -0300
> If a socket is set ipv6only, it will still send IPv4 addresses in the
> INIT and INIT_ACK packets. This potentially misleads the peer into using
> them, which then would cause association termination.
>
> The fix is to not add IPv4 addresses to ipv6only sockets.
>
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Reported-by: Corey Minyard <cminyard@...sta.com>
> Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
Applied and queued up for -stable, thank you.
Powered by blists - more mailing lists