From owner-cvs-src-old@FreeBSD.ORG Fri Jul 8 10:50:32 2011 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 D20E1106578B for ; Fri, 8 Jul 2011 10:50:32 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C14768FC12 for ; Fri, 8 Jul 2011 10:50:32 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p68AoWhX058206 for ; Fri, 8 Jul 2011 10:50:32 GMT (envelope-from andre@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p68AoWDX058205 for cvs-src-old@freebsd.org; Fri, 8 Jul 2011 10:50:32 GMT (envelope-from andre@repoman.freebsd.org) Message-Id: <201107081050.p68AoWDX058205@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to andre@repoman.freebsd.org using -f From: Andre Oppermann Date: Fri, 8 Jul 2011 10:50:13 +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: Fri, 08 Jul 2011 10:50:32 -0000 andre 2011-07-08 10:50:13 UTC FreeBSD src repository Modified files: sys/kern uipc_socket.c Log: SVN rev 223863 on 2011-07-08 10:50:13Z by andre In the experimental soreceive_stream(): o Move the non-blocking socket test below the SBS_CANTRCVMORE so that EOF is correctly returned on a remote connection close. o In the non-blocking socket test compare SS_NBIO against the so->so_state field instead of the incorrect sb->sb_state field. o Simplify the ENOTCONN test by removing cases that can't occur. Submitted by: trociny (with some further tweaks by committer) Tested by: trociny Revision Changes Path 1.357 +9 -13 src/sys/kern/uipc_socket.c