Date: Sat, 13 Jul 2002 12:38:24 +0200 (SAT) From: John Hay <jhay@icomtek.csir.co.za> To: dl@catspoiler.org (Don Lewis) Cc: imp@bsdimp.com, hsu@FreeBSD.org, truckman@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet udp_usrreq.c Message-ID: <200207131038.g6DAcOf99141@zibbi.icomtek.csir.co.za> In-Reply-To: <200207121628.g6CGS3wr014471@gw.catspoiler.org> from Don Lewis at "Jul 12, 2002 09:28:03 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> > In message: <0GZ4004U3MZCIJ@mta5.snfc21.pbi.net> > > Jeffrey Hsu <hsu@FreeBSD.org> writes: > > : > Lock inp while we're accessing it. > > : > > : Here's a rhetorical question: why? That inp was purposely left unlocked. > > > > I can only assume that he didn't have enough: > > > > ../../../vm/uma_core.c:1332: could sleep with "inp" locked from ../../../netinet/tcp_usrreq.c:536 > > > > messages in his dmesg log. > > I checked in a fix for that violation last night. SYSCTL_OUT() can > block, so calling it with a lock held will cause this error. This > particular case was easy to fix by moving the call to SYSCTL_OUT() > outside the locked region. I still get one like that when connecting to the box using ssh over ipv6. Actually any ipv6 tcp connection to the box wil print that. Just one message per connection. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207131038.g6DAcOf99141>