Subject: CVS commit: src/sys/netinet
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 04/22/2007 06:01:58
Module Name: src
Committed By: dyoung
Date: Sun Apr 22 06:01:57 UTC 2007
Modified Files:
src/sys/netinet: in_route.c
Log Message:
In in_rtflushall(), clear the route caches using rtcache_clear()
instead of rtcache_free(). It is not desirable to clear the cached
destination as well as the route, however, rtcache_free() will
eventually release all resources held by the cache, including the
destination.
Add some additional diagnostic assertions.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/sys/netinet/in_route.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.