atom feed22 messages in org.freebsd.freebsd-currentRe: What to do with witness verbiage ...
FromSent OnAttachments
Alex ZepedaJul 10, 2002 12:53 am 
Don LewisJul 10, 2002 2:43 am 
Dag-Erling SmorgravJul 10, 2002 4:40 am 
Dan NelsonJul 10, 2002 10:25 am 
Alex ZepedaJul 10, 2002 11:03 am 
Terry LambertJul 10, 2002 1:01 pm 
Don LewisJul 10, 2002 1:34 pm 
Don LewisJul 10, 2002 1:36 pm 
Alex ZepedaJul 10, 2002 8:48 pm 
Don LewisJul 11, 2002 3:12 am 
Josef KarthauserJul 11, 2002 3:35 am 
Josef KarthauserJul 11, 2002 3:36 am 
Don LewisJul 11, 2002 4:00 am 
Josef KarthauserJul 11, 2002 4:33 am 
Don LewisJul 11, 2002 4:58 am 
Don LewisJul 11, 2002 4:27 pm 
Alex ZepedaJul 12, 2002 8:33 am 
Kenneth D. MerryJul 12, 2002 8:39 am 
Don LewisJul 12, 2002 8:54 am 
Josef KarthauserJul 16, 2002 3:53 pm 
John BaldwinJul 16, 2002 4:13 pm 
Josef KarthauserJul 17, 2002 4:03 pm 
Subject:Re: What to do with witness verbiage (is this new?)?
From:Don Lewis (dl-f@catspoiler.org)
Date:Jul 11, 2002 4:27:59 pm
List:org.freebsd.freebsd-current

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 majo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message