Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2005 15:44:41 +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:  <20050527134441.GA94234@stack.nl>
In-Reply-To: <20050527124531.U727@fledge.watson.org>
References:  <20050503150014.GG17096@stack.nl> <20050510131005.GA4083@stack.nl> <20050527124531.U727@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 27, 2005 at 12:47:28PM +0100, Robert Watson wrote:
> Hmm.  I'm unable to reproduce this on local SMP hardware, although I can 
> see at least one way that the race could occur.  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.

I'll cvsup back to 2005.05.03 (where I can reproduce it easily) and
apply your patch and see what happens.

Race conditions and reproducability are not terms that go together
well. :-(

Marc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050527134441.GA94234>