svn commit: r333476 - head/sys/net

Rodney W. Grimes freebsd at pdx.rh.CN85.dnsmgr.net
Fri May 11 01:27:57 UTC 2018


[ Charset UTF-8 unsupported, converting... ]
> "Rodney W. Grimes" <freebsd at pdx.rh.CN85.dnsmgr.net> writes:
> > "Dag-Erling Sm?rgrav" <des at FreeBSD.org> writes:
> > > In ifa_maintain_loopback_route(), don't needlessly log an error if we
> > > either failed to add a route because it already existed or failed to
> > > remove one because it did not.  We still return an error code, though.
> > Those are the only conditions under which I have ever seen this code
> > log anything.  These usually occur for me when a tunX device is going
> > down, the route gets ripped out long before maintain_loopback ever has
> > a chance to remove it.
> 
> I have a few routers with hundreds of dynamically configured vlan
> interfaces, so I get a *lot* of these...

So do I, and the thing I found best is to just totally rip
out the ifa_maintain_loopback code and let bird deal with
my routes.

I do no need or want these routes created by this mechanism
on my FreeBSD based routers, they only ever existed originally
to use the MTU of the lo0 interface for things that wrongly
open an IP address of an interface rather than 127.0.0.1.


-- 
Rod Grimes                                                 rgrimes at freebsd.org


More information about the svn-src-head mailing list