From owner-cvs-all Fri Aug 9 8:10: 1 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B808037B400; Fri, 9 Aug 2002 08:09:55 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id D34FD43E3B; Fri, 9 Aug 2002 08:09:54 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g79F9si62852; Fri, 9 Aug 2002 08:09:54 -0700 (PDT) (envelope-from rizzo) Date: Fri, 9 Aug 2002 08:09:54 -0700 From: Luigi Rizzo To: Ruslan Ermilov Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet in_rmx.c ip_input.c ip_var.h Message-ID: <20020809080953.B62786@iguana.icir.org> References: <200208091449.g79EnNRh005472@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200208091449.g79EnNRh005472@freefall.freebsd.org>; from ru@FreeBSD.org on Fri, Aug 09, 2002 at 07:49:23AM -0700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Aug 09, 2002 at 07:49:23AM -0700, Ruslan Ermilov wrote: > ru 2002/08/09 07:49:23 PDT > > Modified files: (Branch: RELENG_4) > sys/netinet in_rmx.c ip_input.c ip_var.h > Log: > MFC: in_rmx.c,v 1.39, ip_input.c,v 1.165, and ip_var.h,v 1.54: > > Invalidate cached forwarding route (ipforward_rt) whenever a new > route is added to the routing table, otherwise we may end up using > the wrong route when forwarding. this reminds me... what do we gain from having one route cached ? Most if not all boxes talk to multiple destinations anyways, so we should rather leverage on the cache in ip_flow.c than use this trick. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message