svn commit: r208692 - stable/8/sys/kern

Robert N. M. Watson rwatson at
Tue Jun 1 14:39:04 UTC 2010

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.
>>   PR:		kern/144061
>>   Reported by:	Matt Reimer <mreimer at>,
>> 		Nikolay Denev <ndenev at>,
>> 		Mikolaj Golub < at>

> 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.


More information about the svn-src-stable-8 mailing list