diff options
author | yongari <yongari@FreeBSD.org> | 2012-03-30 05:27:05 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2012-03-30 05:27:05 +0000 |
commit | 4b53a41d86ee212a0d5a384d5990bf0f4391af54 (patch) | |
tree | 2dfeb6d841b15dc8554e5abf1a8e22f82e22934b /sys/kern | |
parent | 6ab556156c3df4da645e470e232aed6a21897a40 (diff) | |
download | FreeBSD-src-4b53a41d86ee212a0d5a384d5990bf0f4391af54.zip FreeBSD-src-4b53a41d86ee212a0d5a384d5990bf0f4391af54.tar.gz |
Do not report current link status if driver is not running.
This change also workarounds dhclient's link state handling bug by
not giving current link status.
Unlike other controllers, ale(4)'s PHY hibernation perfectly works
such that driver does not see a valid link if the controller is not
brought up. If dhclient(8) runs on ale(4) it will blindly waits
until link UP and then gives up after 10 seconds. Because
dhclient(8) still thinks interface got a valid link when IFM_AVALID
is not set for selected media, this change makes dhclient initiate
DHCP without waiting for link UP.
Diffstat (limited to 'sys/kern')
0 files changed, 0 insertions, 0 deletions