Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Aug 2015 15:55:09 +0800
From:      Julian Elischer <julian@freebsd.org>
To:        "Alexander V. Chernikov" <melifaro@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r286458 - in head/sys: net netinet netinet6
Message-ID:  <55C858DD.7060202@freebsd.org>
In-Reply-To: <201508081815.t78IF0xJ081015@repo.freebsd.org>
References:  <201508081815.t78IF0xJ081015@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55C858DD.7060202>