Bug 16299

Summary: [nfs] nfs.ko can be unloaded when nfsd is running, leading to a panic later
Product: Base System Reporter: peter.edwards <peter.edwards>
Component: kernAssignee: Peter Edwards <peadar>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
file.diff none

Description peter.edwards 2000-01-22 16:40:01 UTC
You can unload the nfs module while nfsd is running
When nfsd dies later, you will probably end up panicing.

Fix: Patches: (sorry for cut-n-paste whitespace, but I've no MX available to
send a proper mail. Anyway, the change is pretty small..)
How-To-Repeat: # kldunload nfs
# ps ax | awk '/nfsd/ { print $1 }' | xargs kill -9
Comment 1 Mike Barcroft freebsd_committer freebsd_triage 2001-07-21 20:03:08 UTC
State Changed
From-To: open->feedback


Does this problem still occur in newer versions of FreeBSD, 
such as 4.3-RELEASE?
Comment 2 Mike Barcroft freebsd_committer freebsd_triage 2001-07-21 20:56:21 UTC
State Changed
From-To: feedback->analyzed


This is still a problem. 


Comment 3 Mike Barcroft freebsd_committer freebsd_triage 2001-07-21 20:56:21 UTC
Responsible Changed
From-To: freebsd-bugs->tmm


tmm volunteered to fix this one.
Comment 4 Peter Edwards freebsd_committer freebsd_triage 2004-04-03 17:41:15 UTC
Responsible Changed
From-To: tmm->peadar

Talked to thomas, and he's happy to give me back my old PR :-)
Comment 5 Peter Edwards freebsd_committer freebsd_triage 2004-04-11 14:35:26 UTC
State Changed
From-To: analyzed->patched

Patch committed to -current
Comment 6 Matteo Riondato freebsd_committer freebsd_triage 2005-08-06 14:10:45 UTC
Can this be closed?
Best Regards
-- 
Matteo Riondato
FreeBSD Volunteer (http://freebsd.org)
G.U.F.I. Staff Member (http://www.gufi.org)
FreeSBIE Developer (http://www.freesbie.org)
Comment 7 Matteo Riondato freebsd_committer freebsd_triage 2005-08-27 13:04:38 UTC
State Changed
From-To: patched->closed

This is fixed in RELENG_5 and in RELENG_6, so close this PR