From owner-svn-src-head@freebsd.org Tue Aug 11 07:36:00 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C0DC99E8FD; Tue, 11 Aug 2015 07:36:00 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from forward16j.cmail.yandex.net (forward16j.cmail.yandex.net [IPv6:2a02:6b8:0:1630::f3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E64A9F5F; Tue, 11 Aug 2015 07:35:59 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from web10j.yandex.ru (web10j.yandex.ru [IPv6:2a02:6b8:0:1619::310]) by forward16j.cmail.yandex.net (Yandex) with ESMTP id 3F866215C6; Tue, 11 Aug 2015 10:35:24 +0300 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web10j.yandex.ru (Yandex) with ESMTP id 40D1556C01C7; Tue, 11 Aug 2015 10:35:23 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfw.ru; s=mail; t=1439278523; bh=7eccHHm51/plTGI3soFFzkTzVNAPkArFSDzLqnBQGnk=; h=From:To:In-Reply-To:References:Subject:Date; b=QNJPJ+BsiJPlRDgj4GsPtTUYpY0cML1Ajz4e8REibTulTmUkuEwlZR4uyl6UVh7Hi uwmBiJNeK22fE4sZKw+YJlUXPm4hrTZGcSfsEE8Snfm57dhUV4kQSNM/KlrjrPSJ7O Kh6bFi8+Y9EjUZEuoAsB1uWLgVluHBBJaSLl48y4= Received: by web10j.yandex.ru with HTTP; Tue, 11 Aug 2015 10:35:20 +0300 From: Alexander V. Chernikov To: Julian Elischer , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" In-Reply-To: <2074401439209245@web2h.yandex.ru> References: <201508081815.t78IF0xJ081015@repo.freebsd.org> <55C858DD.7060202@freebsd.org> <2074401439209245@web2h.yandex.ru> Subject: Re: svn commit: r286458 - in head/sys: net netinet netinet6 MIME-Version: 1.0 Message-Id: <2838151439278520@web10j.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Tue, 11 Aug 2015 10:35:20 +0300 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2015 07:36:00 -0000 10.08.2015, 15:20, "Alexander V. Chernikov" : > 10.08.2015, 10:55, "Julian Elischer" : >> 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. > Yes, you're right. > Thanks for the hint, I'll rename it to rt_foreach_fib_walk(). Committed as r286594. > >> rt_foreach_fib_walk() maybe. >> >>> šMod