Date: Tue, 20 Nov 2007 16:58:53 +0100 (CET) From: Bjoern Groenvall <bg@sics.se> To: FreeBSD-gnats-submit@FreeBSD.org Cc: bg@sics.se, kmacy@FreeBSD.org Subject: kern/118152: [nfs] kldunload nfsserver wedges server Message-ID: <20071120155853.9FFADB6B@ibook.sics.se> Resent-Message-ID: <200711201600.lAKG06ai030037@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071120155853.9FFADB6B>