FreeBSD discarding received packets > MTU
David Christensen
davidch at broadcom.com
Fri Sep 7 16:03:27 PDT 2007
> > > Internet ettiquette demands being gracious in what you accept.
> > > The default policy of FreeBSD is to accept such packets.
> > > This is a really weird bug to track down.
> > > Other drivers support it.
> > >
> > > This isn't worth making a stand over, unless you're trying
> > > to hold users of YOUR driver hostage.
> > >
> >
> > I'm just being cautious about making changes before I understand
> > all of the implications. The driver's current behavior is
> > supported by IEEE 802.3 specification (802.3-2005, 4.2.4.2.1)
> > and is implemented in the same way for other operating systems
> > that are very widely deployed (including Windows and Linux)
> > without any reported problems. The existing bge driver which
> > was developed for FreeBSD 10 years ago also operates this way,
> > so all of my references for porting this driver happen to agree
> > on the same implementation.
>
> Which is all well and good, but the age of a bug does not a feature
> make.
>
> Please think of the four points I raised.
>
> I think it makes sense to possibly add a "enforce rx mtu" knob
> somewhere, but it should likely be turned off.
That's the plan.
Dave
More information about the freebsd-net
mailing list