From nobody@FreeBSD.org  Thu Feb 15 11:27:18 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id E19DB37B503
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 15 Feb 2001 11:27:17 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f1FJRHW61538;
	Thu, 15 Feb 2001 11:27:17 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200102151927.f1FJRHW61538@freefall.freebsd.org>
Date: Thu, 15 Feb 2001 11:27:17 -0800 (PST)
From: david@phobia.ms
To: freebsd-gnats-submit@FreeBSD.org
Subject: Unloading the if_tun module causes a reboot
X-Send-Pr-Version: www-1.0

>Number:         25118
>Category:       kern
>Synopsis:       Unloading the if_tun module causes a reboot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    brian
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 15 11:30:00 PST 2001
>Closed-Date:    Mon Apr 2 15:10:35 PDT 2001
>Last-Modified:  Mon Apr 02 15:12:59 PDT 2001
>Originator:     David Hill
>Release:        FreeBSD 4.2-STABLE
>Organization:
>Environment:
FreeBSD beast.hill.hom 4.2-STABLE FreeBSD 4.2-STABLE #2: Sun Feb 11 15:43:31 EST 2001     ocipio@beast.hill.hom:/usr/src/sys/compile/BEAST  i386
>Description:
loading then unloading the if_tun module causes the system to reboot.  I have not tried this with any other if_* modules.
>How-To-Repeat:
kldload if_tun
kldunload if_tun
>Fix:
not a clue.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->brian 
Responsible-Changed-By: brian 
Responsible-Changed-When: Thu Feb 15 16:44:50 PST 2001 
Responsible-Changed-Why:  
I'll look after this 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25118 
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Mon Apr 2 15:10:35 PDT 2001 
State-Changed-Why:  
This behaves as expected on both -current and -stable - I get the expected 
"if_tun module unload - not possible for this module typen" message from 
the MOD_UNLOAD in tun_modevent(). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25118 
>Unformatted:
