Re: [PATCH net-next] net: ipconfig: Wait for deferred device probes

From: David Miller
Date: Wed Nov 20 2019 - 15:40:26 EST


From: Thomas Bogendoerfer <tbogendoerfer@xxxxxxx>
Date: Wed, 20 Nov 2019 17:02:36 +0100

> If network device drives are using deferred probing, it was possible
> that waiting for devices to show up in ipconfig was already over,
> when the device eventually showed up. By calling wait_for_device_probe()
> we now make sure deferred probing is done before checking for available
> devices.
>
> Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@xxxxxxx>
...
> + /* make sure deferred device probes are finished */
> + wait_for_device_probe();
> +

So much nicer, right? :-)

Applied.