Upstream patches for possible crashes, various dhcp issues and to make sure device is up before enabling it