]> Git Repo - linux.git/commit
ipconfig wait for carrier
authorMicha Nelissen <[email protected]>
Thu, 19 May 2011 10:14:06 +0000 (10:14 +0000)
committerDavid S. Miller <[email protected]>
Thu, 19 May 2011 21:13:04 +0000 (17:13 -0400)
commit3fb72f1e6e6165c5f495e8dc11c5bbd14c73385c
treee47295482bb91c6f837de040cb4abe5b79be7019
parentc182f90bc1f22ce5039b8722e45621d5f96862c2
ipconfig wait for carrier

v3 -> v4: fix return boolean false instead of 0 for ic_is_init_dev

Currently the ip auto configuration has a hardcoded delay of 1 second.
When (ethernet) link takes longer to come up (e.g. more than 3 seconds),
nfs root may not be found.

Remove the hardcoded delay, and wait for carrier on at least one network
device.

Signed-off-by: Micha Nelissen <[email protected]>
Cc: David Miller <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv4/ipconfig.c
This page took 0.055218 seconds and 4 git commands to generate.