From owner-freebsd-current@FreeBSD.ORG Wed Aug 18 04:18:45 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 648FD16A4CE; Wed, 18 Aug 2004 04:18:45 +0000 (GMT) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [210.226.20.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA17843D5D; Wed, 18 Aug 2004 04:18:44 +0000 (GMT) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by black.imgsrc.co.jp (Postfix) with ESMTP id 80ED050B13; Wed, 18 Aug 2004 13:18:41 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [IPv6:2001:218:422:2::9999]) by black.imgsrc.co.jp (Postfix) with ESMTP id 1C39C50881; Wed, 18 Aug 2004 13:18:40 +0900 (JST) Date: Wed, 18 Aug 2004 13:18:40 +0900 Message-ID: <7mwtzxaxjz.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: Robert Watson In-Reply-To: References: <7m7jrxcmen.wl@black.imgsrc.co.jp> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd 0.1 cc: Current Subject: Re: panic: lock (sleep mutex) inp not locked @ /usr/src/sys/netinet6/in6_pcb.c:710 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 04:18:45 -0000 At Wed, 18 Aug 2004 00:02:44 -0400 (EDT), Robert Watson wrote: > Hmm. This code is somewhat more spaghetti than I thought. In the IPv4 > version, we check the return value of the notify function to decide if we > need to unlock. Something like the following may fix this: Okay, I'll try with your patch. > Do you have a dump for this? If so, is there any chance you could tell me > what function 'notify' was set to point to, and what the value of 'inp' is > there? Sorry, I didn't take a dump at this time. I'll take it when I get a panic next time. > in6_pcbnotify(c0709d40,e4d3abb0,1600,e4d3abd0,9bed) at in6_pcbnotify+0x26d Is "9bed" is the value of notify argument? It seems it is too small for function pointer... -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project