From owner-cvs-src@FreeBSD.ORG Mon Jan 22 14:50:29 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6DE516A405; Mon, 22 Jan 2007 14:50:29 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id BA46713C468; Mon, 22 Jan 2007 14:50:29 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l0MEoTcB094985; Mon, 22 Jan 2007 14:50:29 GMT (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l0MEoTg1094984; Mon, 22 Jan 2007 14:50:29 GMT (envelope-from andre) Message-Id: <200701221450.l0MEoTg1094984@repoman.freebsd.org> From: Andre Oppermann Date: Mon, 22 Jan 2007 14:50:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern uipc_mbuf.c uipc_socket.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Jan 2007 14:50:30 -0000 andre 2007-01-22 14:50:29 UTC FreeBSD src repository Modified files: sys/kern uipc_mbuf.c uipc_socket.c Log: Unbreak writes of 0 bytes. Zero byte writes happen when only ancillary control data but no payload data is passed. Change m_uiotombuf() to return at least one empty mbuf if the requested length was zero. Add comment to sosend_dgram and sosend_generic(). Diagnoses by: jhb Regression test by: rwatson Pointy hat to. andre Revision Changes Path 1.171 +5 -2 src/sys/kern/uipc_mbuf.c 1.289 +10 -0 src/sys/kern/uipc_socket.c