Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 2010 15:39:01 +0100
From:      "Robert N. M. Watson" <rwatson@FreeBSD.org>
To:        Nikolay Denev <ndenev@gmail.com>
Cc:        svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   Re: svn commit: r208692 - stable/8/sys/kern
Message-ID:  <57DF5801-1685-4C69-9FD3-E56F5425E28C@FreeBSD.org>
In-Reply-To: <2E4C7566-1F0E-4A44-8514-061FF1E129DE@gmail.com>
References:  <201006011359.o51DxmSW050166@svn.freebsd.org> <2E4C7566-1F0E-4A44-8514-061FF1E129DE@gmail.com>

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

On 1 Jun 2010, at 15:23, Nikolay Denev wrote:

>>   When close() is called on a connected socket pair, SO_ISCONNECTED =
might be
>>   set but be cleared before the call to sodisconnect().  In this =
case,
>>   ENOTCONN is returned: suppress this error rather than returning it =
to
>>   userspace so that close() doesn't report an error improperly.
>>=20
>>   PR:		kern/144061
>>   Reported by:	Matt Reimer <mreimer at vpop.net>,
>> 		Nikolay Denev <ndenev at gmail.com>,
>> 		Mikolaj Golub <to.my.trociny at gmail.com>

> I wonder, does this affect RELENG_7 ? (can't test at the moment, but =
sys/kern/uipc_socket.c:soclose() looks similar)

Yes, almost certainly -- if it doesn't manifest, it's just because of =
timing differences, not because the bug isn't present. I'll look at =
merging it to 7.x as well.

Robert=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57DF5801-1685-4C69-9FD3-E56F5425E28C>