git: if: Defer the if_up until the ifnet.if_ioctl is called.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Jan 5 23:59:52 PST 2017


commit e612af50c415c38440054d04bc317f5b02220ce0
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Fri Jan 6 15:59:25 2017 +0800

    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

Summary of changes:
 sys/net/if.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e612af50c415c38440054d04bc317f5b02220ce0


-- 
DragonFly BSD source repository


More information about the Commits mailing list