[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iLeWyA3sC7HZKjqWESmqmtgTS_hOv94ufyu_wRcxYZK8A@mail.gmail.com>
Date: Wed, 23 Oct 2024 17:30:55 +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 6/9] phonet: Pass ifindex to fill_route().
On Thu, Oct 17, 2024 at 8:33 PM Kuniyuki Iwashima <kuniyu@...zon.com> wrote:
>
> We will convert route_doit() to RCU.
>
> route_doit() will call rtm_phonet_notify() outside of RCU due
> to GFP_KERNEL, so dev will not be available in fill_route().
>
> Let's pass ifindex directly to fill_route().
>
> Signed-off-by: Kuniyuki Iwashima <kuniyu@...zon.com>
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists