From owner-cvs-src-old@FreeBSD.ORG Thu May 27 15:27:46 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C53A10657A2 for ; Thu, 27 May 2010 15:27:46 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (unknown [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EFD818FC20 for ; Thu, 27 May 2010 15:27:45 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o4RFRjZj063073 for ; Thu, 27 May 2010 15:27:45 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o4RFRjPf063072 for cvs-src-old@freebsd.org; Thu, 27 May 2010 15:27:45 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <201005271527.o4RFRjPf063072@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Thu, 27 May 2010 15:27:31 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern uipc_socket.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2010 15:27:46 -0000 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 , Nikolay Denev , Mikolaj Golub MFC after: 3 days Revision Changes Path 1.348 +4 -1 src/sys/kern/uipc_socket.c