Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2002 08:09:54 -0700
From:      Luigi Rizzo <rizzo@icir.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>
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>
In-Reply-To: <200208091449.g79EnNRh005472@freefall.freebsd.org>; from ru@FreeBSD.org on Fri, Aug 09, 2002 at 07:49:23AM -0700
References:  <200208091449.g79EnNRh005472@freefall.freebsd.org>

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




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