Date: Thu, 27 May 2010 15:27:31 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern uipc_socket.c Message-ID: <201005271527.o4RFRjPf063072@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2010-05-27 15:27:31 UTC FreeBSD src repository Modified files: sys/kern uipc_socket.c Log: SVN rev 208601 on 2010-05-27 15:27:31Z by rwatson 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> MFC after: 3 days Revision Changes Path 1.348 +4 -1 src/sys/kern/uipc_socket.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005271527.o4RFRjPf063072>