[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89i+WfErM=qvRbQGmHR7xC-aJdCJ2r7efcUvUko_y1EfAdA@mail.gmail.com>
Date: Thu, 26 Jun 2025 07:33:21 -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 05/15] ipv6: mcast: Use in6_dev_get() in ipv6_dev_mc_dec().
On Tue, Jun 24, 2025 at 1:26 PM Kuniyuki Iwashima <kuni1840@...il.com> wrote:
>
> From: Kuniyuki Iwashima <kuniyu@...gle.com>
>
> As well as __ipv6_dev_mc_inc(), all code in __ipv6_dev_mc_dec() are
> protected by inet6_dev->mc_lock, and RTNL is not needed.
>
> Let's use in6_dev_get() in ipv6_dev_mc_dec() and remove ASSERT_RTNL()
> in __ipv6_dev_mc_dec().
>
> Now, we can remove the RTNL comment above addrconf_leave_solict() too.
>
> Signed-off-by: Kuniyuki Iwashima <kuniyu@...gle.com>
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists