kern/118152: [nfs] kldunload nfsserver wedges server

Bjoern Groenvall bg at sics.se
Tue Nov 20 08:00:06 PST 2007


>Number:         118152
>Category:       kern
>Synopsis:       [nfs] kldunload nfsserver wedges server
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 20 16:00:05 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Bjoern Groenvall
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
SICS
>Environment:
System: FreeBSD duvel.sics.se 8.0-CURRENT FreeBSD 8.0-CURRENT #2: Sun Nov 18 20:14:16 UTC 2007 root at duvel.sics.se:/usr/obj/usr/src/sys/GEN-NFS amd64


	HP PC, amd64
>Description:
	unloading the nfsserver kernel module panics server
>How-To-Repeat:
	kldunload nfsserver
>Fix:

nfsrv_destroycache() is accidentally called twice (change
nfs_srvsubs.c:1.147).

--- nfs_srvsubs.c.DIST	2007-11-20 15:34:14.000000000 +0000
+++ nfs_srvsubs.c	2007-11-20 15:34:23.000000000 +0000
@@ -569,7 +569,6 @@
 			syscall_deregister(&nfssvc_offset, &nfssvc_prev_sysent);
 		callout_drain(&nfsrv_callout);
 		nfsrv_destroycache();	/* Free the server request cache */
-		nfsrv_destroycache();	/* Free the server request cache */
 		mtx_destroy(&nfsd_mtx);
 		break;
 	default:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list