[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAVpQUBqsB7Pb36HV2AFKyrUOJFwYKMjsBEHxvreps-oseFXaA@mail.gmail.com>
Date: Fri, 27 Jun 2025 14:09:10 -0700
From: Kuniyuki Iwashima <kuniyu@...gle.com>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>, David Ahern <dsahern@...nel.org>,
netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next 10/10] ipv6: ip6_mc_input() and ip6_mr_input() cleanups
On Fri, Jun 27, 2025 at 4:25 AM Eric Dumazet <edumazet@...gle.com> wrote:
>
> Both functions are always called under RCU.
>
> We remove the extra rcu_read_lock()/rcu_read_unlock().
>
> We use skb_dst_dev_net_rcu() instead of skb_dst_dev_net().
>
> We use dev_net_rcu() instead of dev_net().
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@...gle.com>
Thank you Eric for this series :)
Powered by blists - more mailing lists