Subject: CVS commit: src/sys/sys
To: None <>
From: Quentin Garnier <>
List: source-changes
Date: 02/06/2004 22:40:37
Module Name:	src
Committed By:	cube
Date:		Fri Feb  6 22:40:37 UTC 2004

Modified Files:
	src/sys/sys: lkm.h

Log Message:
Since rev. 1.29, lkmdispatch is called before the LKM's load function.
Therefore lkmdispatch(LKM_E_UNLOAD) must be called to free resources in
case the load function fails.

Reported by Christian Groessler on current-users.

To generate a diff of this commit:
cvs rdiff -r1.31 -r1.32 src/sys/sys/lkm.h

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