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