Subject: Re: kern/3508 bug: cached ip route and interface up/down.
To: None <tech-net@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-net
Date: 11/19/2002 19:58:02
In article <200211191954.OAA10101@Sparkle.Rodents.Montreal.QC.CA>,
der Mouse <mouse@Rodents.Montreal.QC.CA> wrote:
>> No one has refuted my idea of clearing the cache when a more specific
>> route (longer mask length) than the cached route is added to the
>> table.  This does a better job of maintaining the cache when possible
>> and adds a small amount of code.
>
>It's better, because it eliminates the problem in one particular case.

A reference of the cache'd route should be maintained on the route node it
got created from. Then it is simple enough to maintain.

christos