Subject: Re: works in progress: route cache invalidation, RADIX_MPATH
To: None <tech-net@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-net
Date: 12/09/2006 01:09:16
On Thu, Nov 16, 2006 at 01:33:30PM -0600, David Young wrote:
> * Route-cache invalidation

ftp://ftp.netbsd.org/pub/NetBSD/misc/joerg/rtcache.diff 

This is part one to actually do this. The difference to David's approach
is that I want to actually abstract the route cache (re)validation and
ultimately avoid doing the domain specific flushing.

The patch starts this by changing all the proper rtfree calls to the new
API and starts to adjust the various updates. The next part will add
rtcache_check() calls in the various places where the cached route is
accessed and enforcing the calls to rtcache_init(). 

I want to commit this first as it is mostly mechanical and makes
reviewing the other parts easier.

@is: There's a big XXX in netiso, can you take a look at it? The current
code doesn't make much sense.

@dyoung: I haven't touched the two or three cases where a structual copy
of struct route's is done, I'm still not sure whether I want to add a
function for that or not. I haven't forgotten them.

Joerg