Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2002 16:28:21 -0700 (PDT)
From:      Don Lewis <dl-freebsd@catspoiler.org>
To:        zipzippy@sonic.net
Cc:        current@FreeBSD.ORG, dnelson@allantgroup.com
Subject:   Re: What to do with witness verbiage (is this new?)?
Message-ID:  <200207112328.g6BNSLwr012253@gw.catspoiler.org>
In-Reply-To: <200207111012.g6BACYwr010276@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207112328.g6BNSLwr012253>