From owner-freebsd-stable@FreeBSD.ORG Fri May 27 14:58:01 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65C5716A41C; Fri, 27 May 2005 14:58:01 +0000 (GMT) (envelope-from marcolz@stack.nl) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6D7743D53; Fri, 27 May 2005 14:57:59 +0000 (GMT) (envelope-from marcolz@stack.nl) Received: from hammer.stack.nl (hammer.stack.nl [IPv6:2001:610:1108:5010::153]) by mailhost.stack.nl (Postfix) with ESMTP id 226E71F1FB; Fri, 27 May 2005 16:57:58 +0200 (CEST) Received: by hammer.stack.nl (Postfix, from userid 333) id F1A2D655D; Fri, 27 May 2005 16:57:57 +0200 (CEST) Date: Fri, 27 May 2005 16:57:57 +0200 From: Marc Olzheim To: Robert Watson Message-ID: <20050527145757.GD94234@stack.nl> References: <20050503150014.GG17096@stack.nl> <20050510131005.GA4083@stack.nl> <20050527124531.U727@fledge.watson.org> <20050527134441.GA94234@stack.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="z4+8/lEcDcG5Ke9S" Content-Disposition: inline In-Reply-To: <20050527134441.GA94234@stack.nl> X-Operating-System: FreeBSD hammer.stack.nl 5.4-STABLE FreeBSD 5.4-STABLE X-URL: http://www.stack.nl/~marcolz/ User-Agent: Mutt/1.5.9i Cc: Marc Olzheim , freebsd-stable@freebsd.org, bug-followup@FreeBSD.org Subject: Re: kern/78824: race condition close()ing and read()ing the same socketpair on SMP. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2005 14:58:01 -0000 --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--