svn commit: r208692 - stable/8/sys/kern
Mikolaj Golub
to.my.trociny at gmail.com
Tue Jun 1 20:37:53 UTC 2010
On Tue, 1 Jun 2010 15:39:01 +0100 Robert N. M. Watson wrote:
RNMW> 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)
RNMW> Yes, almost certainly -- if it doesn't manifest, it's just because of
RNMW> timing differences, not because the bug isn't present. I'll look at
RNMW> merging it to 7.x as well.
Actually these were 7.1 servers where I noticed this problem fist.
--
Mikolaj Golub
More information about the svn-src-stable
mailing list