Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 May 2005 11:21:37 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Marc Olzheim <marcolz@stack.nl>
Cc:        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:  <20050530112102.L52379@fledge.watson.org>
In-Reply-To: <20050530100559.GA52267@stack.nl>
References:  <20050503150014.GG17096@stack.nl> <20050510131005.GA4083@stack.nl> <20050527124531.U727@fledge.watson.org> <20050527134441.GA94234@stack.nl> <20050527145757.GD94234@stack.nl> <20050530100559.GA52267@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mon, 30 May 2005, Marc Olzheim wrote:

> On Fri, May 27, 2005 at 04:57:57PM +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.
>
> On today's RELENG_5 it works ok too, as far as I can check. :-)

Great.  I'll MFC this in a week or so assuming that there are no reports 
of problems with the patch in HEAD.  Thanks for the clear and concise bug 
report, and sorry about taking so long to get this fixed!

Robert N M Watson



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