Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Jun 2001 13:51:39 +0100
From:      Bob Bishop <rb@gid.co.uk>
To:        Ruslan Ermilov <ru@FreeBSD.ORG>, freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/27890: FreeBSD not always seems to take the best route
Message-ID:  <4.3.2.7.2.20010606134734.00bab440@gid.co.uk>
In-Reply-To: <200106061240.f56Ce1J14186@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 05:40 06/06/01 -0700, Ruslan Ermilov wrote:
>[heavily pruned]
>  The actual fix would be to notify protocol (from within the
>  routing code) whenever its routing table is modified.  This
>  notification could then be saved in a variable as timestamp,
>  and every PCB-cached route could have a similar timestamp as
>  well, indicating when this "caching" took place.  Having
>  that, ip_output() would "invalidate" cached route if it was
>  cached before the last routing table modification was done.

Alternatively, just have ip_output expire the cached route after a delay.

--
Bob Bishop		    +44 (0)118 977 4017
rb@gid.co.uk		fax +44 (0)118 989 4254


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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