git: bge: Don't prevent bge_init if IFF_RUNNING is set

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Fri Jun 29 04:01:54 PDT 2012


commit 8ecafb73b88da18c8ec13f65e754749399978308
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Fri Jun 29 18:56:20 2012 +0800

    bge: Don't prevent bge_init if IFF_RUNNING is set
    
    This probably was old code which intended to guard against if_init()
    triggered by SIOCSIFADDR in ether_ioctl().  It no longer makes sense.
    
    Also don't call bge_init() if MTU is changed but device is not running
    yet (FreeBSD 213587).

Summary of changes:
 sys/dev/netif/bge/if_bge.c |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8ecafb73b88da18c8ec13f65e754749399978308


-- 
DragonFly BSD source repository





More information about the Commits mailing list