[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89i+TkNyfb1kiD6DaJobE5D=oudwO-kgAzWtFMKSDyQe45Q@mail.gmail.com>
Date: Wed, 23 Oct 2024 17:32:05 +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 7/9] phonet: Pass net and ifindex to rtm_phonet_notify().
On Thu, Oct 17, 2024 at 8:34 PM Kuniyuki Iwashima <kuniyu@...zon.com> wrote:
>
> Currently, rtm_phonet_notify() fetches netns and ifindex from dev.
>
> Once route_doit() is converted to RCU, rtm_phonet_notify() will be
> called outside of RCU due to GFP_KERNEL, and dev will be unavailable
> there.
>
> Let's pass net and ifindex to rtm_phonet_notify().
>
> Signed-off-by: Kuniyuki Iwashima <kuniyu@...zon.com>
> ---
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists