[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKD1Yr3NgUKE+eVmGQkFq1o4RoWpwfDuvmnbT+hh+UCRpuQs1w@mail.gmail.com>
Date: Mon, 5 Apr 2021 22:01:59 +0900
From: Lorenzo Colitti <lorenzo@...gle.com>
To: Maciej Żenczykowski <zenczykowski@...il.com>
Cc: Maciej Żenczykowski <maze@...gle.com>,
"David S . Miller" <davem@...emloft.net>,
Linux Network Development Mailing List
<netdev@...r.kernel.org>
Subject: Re: [PATCH] net-ipv6: bugfix - raw & sctp - switch to ipv6_can_nonlocal_bind()
On Mon, Apr 5, 2021 at 4:07 PM Maciej Żenczykowski
<zenczykowski@...il.com> wrote:
> The helper is defined as:
> static inline bool ipv6_can_nonlocal_bind(struct net *net, struct inet_sock *inet) {
> return net->ipv6.sysctl.ip_nonlocal_bind || inet->freebind || inet->transparent;
> }
> so this change only widens the accepted opt-outs and is thus a clean bugfix.
Reviewed-By: Lorenzo Colitti <lorenzo@...gle.com>
Powered by blists - more mailing lists