[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iJujjF6=G-2z0_jv5S+wy6qajb80xNy4y5Gp69-msqOqQ@mail.gmail.com>
Date: Thu, 26 Jun 2025 07:48:35 -0700
From: Eric Dumazet <edumazet@...gle.com>
To: Kuniyuki Iwashima <kuni1840@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>, David Ahern <dsahern@...nel.org>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>,
Kuniyuki Iwashima <kuniyu@...gle.com>, netdev@...r.kernel.org
Subject: Re: [PATCH v2 net-next 12/15] ipv6: anycast: Don't hold RTNL for
IPV6_LEAVE_ANYCAST and IPV6_ADDRFORM.
On Tue, Jun 24, 2025 at 1:26 PM Kuniyuki Iwashima <kuni1840@...il.com> wrote:
>
> From: Kuniyuki Iwashima <kuniyu@...gle.com>
>
> inet6_sk(sk)->ipv6_ac_list is protected by lock_sock().
>
> In ipv6_sock_ac_drop() and ipv6_sock_ac_close(),
> only __dev_get_by_index() and __in6_dev_get() requrie RTNL.
>
> Let's replace them with dev_get_by_index() and in6_dev_get()
> and drop RTNL from IPV6_LEAVE_ANYCAST and IPV6_ADDRFORM.
>
> Signed-off-by: Kuniyuki Iwashima <kuniyu@...gle.com>
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists