cvs commit: src/sys/net if_mib.c

Christian S.J. Peron csjp at FreeBSD.org
Sun Oct 23 13:35:03 PDT 2005


On Sun, Oct 23, 2005 at 03:29:34PM +0000, Christian S.J. Peron wrote:
> On Sun, Oct 23, 2005 at 11:11:41AM +0400, Gleb Smirnoff wrote:
> > 
> > Does this fix that bsnmpd reports all interfaces as "operatinally down"
> > after the if_drv_flags was introduced?
> > 
> 
> Nope, but this should:
> 
> http://people.freebsd.org/~csjp/mibII_interfaces.c.1130030000.diff
> 
> I am just waiting for harti to give me the green light.
> 

Sorry, I probably should have clarified:

(1) Yes, this does fix the issue of interfaces being reported as
    operationally down by bsnmpd. As the RUNNING mask was not being
    set by the kernel before it was returned to userspace.

(2) However, RUNNING flags are not synonomous with the devices being
    up, so the patch listed above changes bsnmpd to check link status
    instead of checking the RUNNING mask.

-- 
Christian S.J. Peron
csjp at FreeBSD.ORG
FreeBSD Committer
FreeBSD Security Team


More information about the cvs-src mailing list