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

Nikolay Denev ndenev at gmail.com
Tue Jun 1 14:23:16 UTC 2010


On Jun 1, 2010, at 4:59 PM, Robert Watson wrote:

> Author: rwatson
> Date: Tue Jun  1 13:59:48 2010
> New Revision: 208692
> URL: http://svn.freebsd.org/changeset/base/208692
> 
> Log:
>  Merge r208601 from head to stable/8:
> 
>    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>
> 
>  Approved by:	re (kib)


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

Regards,
Niki Denev



More information about the svn-src-all mailing list