Subject: CVS commit: src/sys/netsmb
To: None <>
From: Jaromir Dolecek <>
List: source-changes
Date: 03/31/2003 21:25:00
Module Name:	src
Committed By:	jdolecek
Date:		Mon Mar 31 18:24:59 UTC 2003

Modified Files:
	src/sys/netsmb: smb_conn.c

Log Message:
do recursive lock in smb_co_gone() - this code could be invoked
on error returns paths with parent still locked, which would
cause 'locking against myself' panic with nonrecursive lock

fixes problem where invalid share name would cause a panic
via smb_sm_lookup() -> smb_share_put()

many thanks to Matthias Drochner for pointing out easy way how to
trigger this problem

To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/sys/netsmb/smb_conn.c

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