svn commit: r286458 - in head/sys: net netinet netinet6

Julian Elischer julian at freebsd.org
Mon Aug 10 07:55:27 UTC 2015


On 8/9/15 2:15 AM, Alexander V. Chernikov wrote:
> Author: melifaro
> Date: Sat Aug  8 18:14:59 2015
> New Revision: 286458
> URL: https://svnweb.freebsd.org/changeset/base/286458
>
> Log:
>    MFP r274295:
>    
>    * Move interface route cleanup to route.c:rt_flushifroutes()
>    * Convert most of "for (fibnum = 0; fibnum < rt_numfibs; fibnum++)" users
>      to use new rt_foreach_fib() instead of hand-rolling cycles.

I think rt_foreach_fib() is poorly named. My expectation is that it 
would call a function for each fib,
or be a macro that just iterates fibs, rather than actually walking 
the tree.

rt_foreach_fib_walk() maybe.


>
> Mod



More information about the svn-src-head mailing list