net: ipconfig: Wait for deferred device probes
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Wed, 20 Nov 2019 16:02:36 +0000 (17:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Nov 2019 20:39:53 +0000 (12:39 -0800)
commite2ffe3ff6f5e18325c7a5500acd102a67fac078f
tree9e9a992a08026d90794feaae684ddca3c0df051a
parent2be8ca97d07e1133e81cd3977bd1f94058b65489
net: ipconfig: Wait for deferred device probes

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@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipconfig.c