Subject: Re: Problems with outgoing routing of UDP packets
To: Erik E. Fair <fair@netbsd.org>
From: Tom Ivar Helbekkmo <tih@eunetnorge.no>
List: tech-net
Date: 04/23/2004 04:29:19
"Erik E. Fair" <fair@netbsd.org> writes:

> When you remove an entry from the routing table, you'd have to
> synchronously remove any cache entries that point at it; otherwise,
> you'd have a dangling pointer...

That could be avoided by not releasing memory that's been allocated to
the routing table, instead setting the serial number of unused nodes
to zero, and keeping them on a free list.

-tih
-- 
Tom Ivar Helbekkmo, Senior System Administrator, EUnet Norway
www.eunet.no  T: +47-22092958 M: +47-93013940 F: +47-22092901