[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89i+vfRjHvz5eYmMpxz+qVZi7vquKRsWNQBufOVGCkxUM=A@mail.gmail.com>
Date: Wed, 23 Oct 2024 17:34:42 +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>, Remi Denis-Courmont <courmisch@...il.com>,
Kuniyuki Iwashima <kuni1840@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH v1 net-next 9/9] phonet: Don't hold RTNL for route_doit().
On Thu, Oct 17, 2024 at 8:34 PM Kuniyuki Iwashima <kuniyu@...zon.com> wrote:
>
> Now only __dev_get_by_index() depends on RTNL in route_doit().
>
> Let's use dev_get_by_index_rcu() and register route_doit() with
> RTNL_FLAG_DOIT_UNLOCKED.
>
> Signed-off-by: Kuniyuki Iwashima <kuniyu@...zon.com>
> ---
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists