[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iLRR0NnwhoVQdJMT8Q4GCpBkMOusOWomjk6c11kPyEnOQ@mail.gmail.com>
Date: Fri, 18 Oct 2024 15:55:17 +0200
From: Eric Dumazet <edumazet@...gle.com>
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: "David S. Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, David Ahern <dsahern@...nel.org>,
Kuniyuki Iwashima <kuni1840@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH v1 net-next 08/11] rtnetlink: Define rtnl_net_lock().
On Fri, Oct 18, 2024 at 3:25 AM Kuniyuki Iwashima <kuniyu@...zon.com> wrote:
>
> We will need the per-netns version of rtnl_trylock().
>
> rtnl_net_trylock() calls __rtnl_net_lock() only when rtnl_trylock()
> successfully holds RTNL.
>
> When RTNL is removed, we will use mutex_trylock() for per-netns RTNL.
>
> Signed-off-by: Kuniyuki Iwashima <kuniyu@...zon.com>
> ---
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists