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