Subject: CVS commit: src/sys/net
To: None <source-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: source-changes
Date: 01/05/2007 16:40:08
Module Name: src
Committed By: joerg
Date: Fri Jan 5 16:40:08 UTC 2007
Modified Files:
src/sys/net: route.c route.h
Log Message:
Add a debug option for the route cache to help tracing down issues
like PR 35272 and 35318. When the kernel is compiled with
-DRTCACHE_DEBUG, all rtcache entries are logged to a list with the place
they got initialised. This allows overwrites, double inits and other
manual messing to be detected.
To generate a diff of this commit:
cvs rdiff -r1.83 -r1.84 src/sys/net/route.c
cvs rdiff -r1.49 -r1.50 src/sys/net/route.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.