Date: Fri, 27 May 2005 16:57:57 +0200 From: Marc Olzheim <marcolz@stack.nl> To: Robert Watson <rwatson@FreeBSD.org> Cc: Marc Olzheim <marcolz@stack.nl>, freebsd-stable@freebsd.org, bug-followup@FreeBSD.org Subject: Re: kern/78824: race condition close()ing and read()ing the same socketpair on SMP. Message-ID: <20050527145757.GD94234@stack.nl> In-Reply-To: <20050527134441.GA94234@stack.nl> References: <20050503150014.GG17096@stack.nl> <20050510131005.GA4083@stack.nl> <20050527124531.U727@fledge.watson.org> <20050527134441.GA94234@stack.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--z4+8/lEcDcG5Ke9S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, May 27, 2005 at 03:44:41PM +0200, Marc Olzheim wrote: > Could you try the attached patch and see if it helps matters? This is > a slight shot in the dark but closes at least two races in the > transition of socket state with respect to socket buffer state. Yes! This fixes it, on the tag=RELENG_5 date=2005.03.03.00.00.00 kernel. I'll try and see if it works on a recent RELENG_5 kernel as well, later. Marc --z4+8/lEcDcG5Ke9S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFClzV1ezjnobFOgrERAqBVAJ4psR4E3/yfaNjpvMmgwo765/klLQCfV/fH hI7dWu2IF+tqEoGiWzJ8Yo0= =qeu2 -----END PGP SIGNATURE----- --z4+8/lEcDcG5Ke9S--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050527145757.GD94234>