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

_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to