From owner-freebsd-current Thu Jul 11 16:28:40 2002 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 C646637B400 for ; Thu, 11 Jul 2002 16:28:37 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78C0943E54 for ; Thu, 11 Jul 2002 16:28:36 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.5/8.12.5) with ESMTP id g6BNSLwr012253; Thu, 11 Jul 2002 16:28:24 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Message-Id: <200207112328.g6BNSLwr012253@gw.catspoiler.org> Date: Thu, 11 Jul 2002 16:28:21 -0700 (PDT) From: Don Lewis Subject: Re: What to do with witness verbiage (is this new?)? To: zipzippy@sonic.net Cc: current@FreeBSD.ORG, dnelson@allantgroup.com In-Reply-To: <200207111012.g6BACYwr010276@gw.catspoiler.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 11 Jul, Don Lewis wrote: > On 10 Jul, Alex Zepeda wrote: >> On Wed, Jul 10, 2002 at 01:34:50PM -0700, Don Lewis wrote: >> >>> > ../../../vm/uma_core.c:1332: could sleep with "inp" locked from ../../../netinet/tcp_subr.c:935 >>> > ../../../vm/uma_core.c:1332: could sleep with "tcp" locked from ../../../netinet/tcp_subr.c:928 > I tracked it down to tcp_getcred() calling SYSCTL_OUT(), which can > potentially block, before releasing the locks tcp_getcred() is holding. > This routine is used by the net.inet.tcp.getcred sysctl, and the only > user of that seems to be the builtin ident code in inetd. I'm not > seeing this error because I'm not running inetd on my -current box. > > This bug is similar to the "kernel linker" bug, but is much easier to > fix. There are similar errors in tcp6_getcred() and udp_getcred(). > > Give this patch a try: I just committed the patch. Enjoy! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message