cvs commit: src/sys/dev/fxp if_fxp.c if_fxpvar.h

Maxime Henrion mux at freebsd.org
Fri Jun 4 14:08:46 PDT 2004


Kris Kennaway wrote:
> On Wed, Jun 02, 2004 at 03:52:18PM -0700, Maxime Henrion wrote:
> > mux         2004/06/02 15:52:18 PDT
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     sys/dev/fxp          if_fxp.c if_fxpvar.h 
> >   Log:
> >   Use the device sysctl tree instead of rolling our own.  Some of the
> >   sysctls were global (hw.fxp_rnr and hw.fxp_noflow), all of them are
> >   now per-device.  Sample output of "sysctl dev.fxp0" with this patch,
> >   with the standard %foo nodes removed :
> >   
> >   dev.fxp0.int_delay: 1000
> >   dev.fxp0.bundle_max: 6
> >   dev.fxp0.rnr: 0
> >   dev.fxp0.noflow: 0
> 
> What are your thoughts about making noflow the default?  Having an fxp
> machine panic and DoS an entire network is not friendly.

I'm not opposed to that.  I'd like to hear rwatson confirming this since
he's the one who implemented that sysctl, but I think it is fairly safe.  

Cheers,
Maxime


More information about the cvs-src mailing list