Subject: lib/720: NetNS ifconfig bug and fix
To: None <gnats-admin@NetBSD.ORG>
From: James Jegers <jimj@enigma.cs.uwm.edu>
List: netbsd-bugs
Date: 01/10/1995 00:50:09
>Number:         720
>Category:       lib
>Synopsis:       ifconfig of the XNS network causes kernel to get upset.
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 10 00:50:05 1995
>Originator:     James Jegers
>Organization:
"	"
>Release:        Current as of 1/5/94
>Environment:
	
System: NetBSD enigma.cs.uwm.edu 1.0A NetBSD 1.0A (ENIGMA) #0: Mon Nov 28 16:57:17 CST 1994 jimj@enigma.cs.uwm.edu:/usr/src/sys/arch/i386/compile/ENIGMA i386


>Description:
 	Configure XNS into the kernel, and then try to ifconfig it.  The
	kernel will jump into the debugger and complain that the interrupt
	mask was not reset.
	
>How-To-Repeat:
	ifconfig ed0 ns 5
	
>Fix:
	in /sys/netns/ns.c  ns_ifinit(), there needs to be a "splx(s);"
	somewhere near the bottom of the fuction.k
	
>Audit-Trail:
>Unformatted:


<[ yes | no ] (one line)>
<synopsis of the problem (one line)>
<[ non-critical | serious | critical ] (one line)>
<[ low | medium | high ] (one line)>
<NetBSD-current source date>