cvs commit: src/sys/kern uipc_usrreq.c

Robert Watson rwatson at FreeBSD.ORG
Fri Jun 11 02:19:21 GMT 2004


On Fri, 11 Jun 2004, Andrey Chernov wrote:

> On Thu, Jun 10, 2004 at 09:34:38PM +0000, Robert Watson wrote:
> >   Introduce a subsystem lock around UNIX domain sockets in order to protect
> >   global and allocated variables.  This strategy is derived from work
> >   originally developed by BSDi for BSD/OS, and applied to FreeBSD by Sam
> >   Leffler:
> 
> Is it could fix recent -current panics in sosend() I report? 

No, because Giant is held over all of this code still, this should neither
introduce nor correct any race conditions or corruption issues (ideally). 
However, I'm not sure I've seen your sosend() report -- is there a PR I
can look at?  Have you tried running with the socket buffer debugging
option turned on?

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org      Senior Research Scientist, McAfee Research




More information about the cvs-src mailing list