From owner-cvs-src@FreeBSD.ORG Mon Nov 29 23:09:08 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2478216A4CE; Mon, 29 Nov 2004 23:09:08 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F355243D5C; Mon, 29 Nov 2004 23:09:07 +0000 (GMT) (envelope-from ps@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iATN97oD037334; Mon, 29 Nov 2004 23:09:07 GMT (envelope-from ps@repoman.freebsd.org) Received: (from ps@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iATN97B1037333; Mon, 29 Nov 2004 23:09:07 GMT (envelope-from ps) Message-Id: <200411292309.iATN97B1037333@repoman.freebsd.org> From: Paul Saab Date: Mon, 29 Nov 2004 23:09:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern uipc_socket.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Nov 2004 23:09:08 -0000 ps 2004-11-29 23:09:07 UTC FreeBSD src repository Modified files: sys/kern uipc_socket.c Log: Make soreceive(MSG_DONTWAIT) nonblocking. If MSG_DONTWAIT is passed into soreceive(), then pass in M_DONTWAIT to m_copym(). Also fix up error handling for the case where m_copym() returns failure. Submitted by: Mohan Srinivasan mohans at yahoo-inc dot com Reviewed by: rwatson Revision Changes Path 1.218 +21 -3 src/sys/kern/uipc_socket.c