Subject: kern/8990: IP broken after KAME update
To: None <gnats-bugs@gnats.netbsd.org>
From: Jason R Thorpe <thorpej@sulaco.nas.nasa.gov>
List: netbsd-bugs
Date: 12/13/1999 15:21:35
>Number:         8990
>Category:       kern
>Synopsis:       IP broken after KAME update
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 13 15:20:58 1999
>Last-Modified:
>Originator:     
>Organization:
Numerical Aerospace Simulation Facility - NASA Ames
>Release:        Monday, Dec 13, 1999
>Environment:
	
System: NetBSD sulaco 1.4P NetBSD 1.4P (SULACO) #54: Tue Nov 30 19:49:17 PST 1999 thorpej@sulaco:/amd/dracul/u2/netbsd/src/sys/arch/pmax/compile/SULACO pmax


>Description:
	There is some sort of problem after the recent KAME update.

	My DECstation seemingly-randomly panics with a TLB miss, usually
	in the IPsec code, usually when starting portmap.  One such
	example:

(gdb) list *(ipsec4_getpolicybysock + 0x140)
0x80077690 is in ipsec4_getpolicybysock (../../../../netinet6/ipsec.c:275).
270                     case IPSEC_POLICY_ENTRUST:
271                         {
272                             struct secindex idx;
273     
274                             bzero(&idx, sizeof(idx));
275                             *error = ipsec_setsecidx(&idx, AF_INET, m, 1);
276                             if (*error != 0) {
277                                     *error = ENOBUFS;
278                                     return NULL;
279                             }
(gdb) 

	My AlphaStation 500, when doing a "make -j8 obj" (src/obj over
	NFS) spews:

looutput: mbuf allocation failed
looutput: mbuf allocation failed
looutput: mbuf allocation failed
looutput: mbuf allocation failed
looutput: mbuf allocation failed

	...this used to work (I do it *all* the time).

>How-To-Repeat:
	Use TCP/IP.

	Note, I was not actively using any IPv6 connections, nor am I
	currently using IPsec.
>Fix:
	Unknown.
>Audit-Trail:
>Unformatted: