svn commit: r208692 - stable/8/sys/kern
Robert N. M. Watson
rwatson at FreeBSD.org
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 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
More information about the svn-src-stable
mailing list