[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iLyO=sXP6hvuDVxnJpq6Y_AT97NmUO6NK+DrQZ8UvQ6Yg@mail.gmail.com>
Date: Fri, 7 Feb 2025 08:01:36 +0100
From: Eric Dumazet <edumazet@...gle.com>
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: davem@...emloft.net, horms@...nel.org, kuba@...nel.org, kuni1840@...il.com,
netdev@...r.kernel.org, pabeni@...hat.com, ychemla@...dia.com
Subject: Re: [PATCH v2 net 1/2] net: Fix dev_net(dev) race in unregister_netdevice_notifier_dev_net().
On Fri, Feb 7, 2025 at 7:59 AM Kuniyuki Iwashima <kuniyu@...zon.com> wrote:
>
> From: Eric Dumazet <edumazet@...gle.com>
> > /* Why is this needed ? */
>
> The following rtnl_net_lock() assumes the dev is not yet published
> by register_netdevice(), and I think there's no such users calling
> register_netdevice_notifier_dev_net() after that, so just a paranoid..
Please add a comment then ;)
Powered by blists - more mailing lists