if: Defer the if_up until the ifnet.if_ioctl is called.
commite612af50c415c38440054d04bc317f5b02220ce0
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 6 Jan 2017 07:59:25 +0000 (6 15:59 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 6 Jan 2017 07:59:25 +0000 (6 15:59 +0800)
treec0cff2c195353d8d760359274c38a66547b66a15
parent3166deda028b9b22ba83d9d919c6bc98c61fedac
if: Defer the if_up until the ifnet.if_ioctl is called.

This ensures the interface is initialized by the interface driver
before it can be used by the rest of the system.

Obtained-from: FreeBSD
sys/net/if.c