Re: [PATCH net,v2] hv_netvsc: fix race of netvsc and VF register_netdevice

From: Jakub Kicinski
Date: Thu Nov 02 2023 - 01:07:43 EST


On Thu, 26 Oct 2023 14:22:34 -0700 Haiyang Zhang wrote:
> And, move register_netdevice_notifier() earlier, so the call back
> function is set before probing.

Are you sure you need this? I thought the netdev notifier "replays"
registration events (i.e. sends "fake" events for already present
netdevs).

If I'm wrong this should still be a separate patch from the rtnl
reorder.
--
pw-bot: cr