Received: by mail.netbsd.org (Postfix, from userid 605) id E95E119D0C4; Sun, 9 Jan 2011 14:10:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 06F4119CFD6 for ; Sun, 9 Jan 2011 14:10:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id VTOmzqaBz+nP for ; Sun, 9 Jan 2011 14:10:04 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id EA13319CFD1 for ; Sun, 9 Jan 2011 14:10:03 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id CA515175DD; Sun, 9 Jan 2011 14:10:03 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Sun, 9 Jan 2011 14:10:03 +0000 From: "Antti Kantee" Subject: CVS commit: src/lib To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20110109141003.CA515175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Antti Kantee" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: pooka Date: Sun Jan 9 14:10:03 UTC 2011 Modified Files: src/lib/librumpclient: rumpclient.c src/lib/librumpuser: rumpuser_sp.c sp_common.c Log Message: Separate rw_data and rw_done. Otherwise we don't get wakeups for requests which have a 0-length response (such as copyin 0/0). This change makes links(1) work against a rump kernel which contains rumpnet_local. The presence of unix domain sockets caused links to select() with 0 fds and a timeout, and because copyin never woke up in the kernel the application blocked indefinitely. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/librumpclient/rumpclient.c cvs rdiff -u -r1.31 -r1.32 src/lib/librumpuser/rumpuser_sp.c cvs rdiff -u -r1.20 -r1.21 src/lib/librumpuser/sp_common.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.