summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2012-03-30 05:27:05 +0000
committeryongari <yongari@FreeBSD.org>2012-03-30 05:27:05 +0000
commit4b53a41d86ee212a0d5a384d5990bf0f4391af54 (patch)
tree2dfeb6d841b15dc8554e5abf1a8e22f82e22934b /sys/kern
parent6ab556156c3df4da645e470e232aed6a21897a40 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud