Subject: Re: [PATCH net-next 7/9] iavf: use unregister_netdev

From: Jakub Kicinski <[email-masked]>
Date: Tue, 24 Oct 2023 16:44:17 -0700

On Mon, 23 Oct 2023 16:08:24 -0700 Jacob Keller wrote:
> Use unregister_netdev, which takes rtnl_lock for us. We don't have to
> check the reg_state under rtnl_lock. There's nothing to race with. We
> have just cancelled the finish_config work.

I can't really convince myself that its indeed the case... but either
way if something can register the netdev past the check - the code is
buggy with or without rtnl_lock, so patch seems sane.