Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2007 09:52:59 +0900
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Jack F Vogel <jfv@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/em if_em.c
Message-ID:  <20070525005259.GA53688@cdnetworks.co.kr>
In-Reply-To: <200705241811.l4OIBCUI018049@repoman.freebsd.org>
References:  <200705241811.l4OIBCUI018049@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 24, 2007 at 06:11:11PM +0000, Jack F Vogel wrote:
 > jfv         2007-05-24 18:11:11 UTC
 > 
 >   FreeBSD src repository
 > 
 >   Modified files:
 >     sys/dev/em           if_em.c 
 >   Log:
 >   Fix for PR 112937, thanks to Ruslan Ermilov. I am still
 >   a bit confused how the 'link flap' was connected to the
 >   'get' rather than 'set' address, but this seems the right
 >   thing to do here.
 >   

Thanks for the fix. The bug was introduced by me and it was just
a hack to suppress hardware reinitialization.
I know lots of ethernet drivers do this kind of hardware
reinitailization whenever alias addresses are added.  I guess we
should reinitialize the hardware only when it's absolutely required.
Fixing ether_ioctl() to invoke if_init only when the interface is not
running would remove the hack but I'm not sure how it would affect
configuraing multicasting filters in ethernet drivers.

-- 
Regards,
Pyun YongHyeon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070525005259.GA53688>