From owner-cvs-all Sun Aug 11 3:53:22 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 AFF7D37B400; Sun, 11 Aug 2002 03:53:10 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59A4743E42; Sun, 11 Aug 2002 03:53:06 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g7BAqn612636; Sun, 11 Aug 2002 13:52:49 +0300 (EEST) (envelope-from ru) Date: Sun, 11 Aug 2002 13:52:49 +0300 From: Ruslan Ermilov To: Luigi Rizzo 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: <20020811105249.GB11677@sunbay.com> References: <200208091449.g79EnNRh005472@freefall.freebsd.org> <20020809080953.B62786@iguana.icir.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XOIedfhf+7KOe/yw" Content-Disposition: inline In-Reply-To: <20020809080953.B62786@iguana.icir.org> User-Agent: Mutt/1.3.99i 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 --XOIedfhf+7KOe/yw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 09, 2002 at 08:09:54AM -0700, Luigi Rizzo wrote: > On Fri, Aug 09, 2002 at 07:49:23AM -0700, Ruslan Ermilov wrote: > > ru 2002/08/09 07:49:23 PDT > >=20 > > Modified files: (Branch: RELENG_4) > > sys/netinet in_rmx.c ip_input.c ip_var.h=20 > > Log: > > MFC: in_rmx.c,v 1.39, ip_input.c,v 1.165, and ip_var.h,v 1.54: > > =20 > > 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. >=20 > this reminds me... what do we gain from having one route cached ? > Most if not all boxes talk to multiple destinations anyways, >=20 This works on assumption that two or more consecutive packets to be forwarded are for the same destination. > so we should rather leverage on the cache in ip_flow.c than > use this trick. >=20 Fast forwarding is incompatible with many standard things, as hinted in the inet(4) manpage. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --XOIedfhf+7KOe/yw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9VkIBUkv4P6juNwoRAu5mAJ98OdzFdQ+hTXC3V2f8u3ATPJtg8ACfQROn iqMN1NZl6b+mc2yruSjMgV0= =i3Tj -----END PGP SIGNATURE----- --XOIedfhf+7KOe/yw-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message