Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 12/30/2004 11:47:02
Module Name:	src
Committed By:	jdolecek
Date:		Thu Dec 30 11:47:02 UTC 2004

Modified Files:
	src/sys/kern: kern_lkm.c

Log Message:
only do the temporary symbol table load #ifdef DDB and add comment for
the code block, so that the purpose is more clear

avoid NULL pointer dereference in lkmunreserve() called on lkm device
close when ksym_addsymtab() fails for the temporary symbol table
(sanity change only, this can never happen at the moment)


To generate a diff of this commit:
cvs rdiff -r1.79 -r1.80 src/sys/kern/kern_lkm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.