Received: by mail.netbsd.org (Postfix, from userid 605) id 4780D14A152; Fri, 3 Jun 2011 17:11:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 23EC614A152 for ; Fri, 3 Jun 2011 17:11:35 +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 QFg8Y9a49Koy for ; Fri, 3 Jun 2011 17:11:34 +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 927DE14A117 for ; Fri, 3 Jun 2011 17:11:34 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 73163175DD; Fri, 3 Jun 2011 17:11:34 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Fri, 3 Jun 2011 17:11:34 +0000 From: "David Young" Subject: CVS commit: src/sys/netinet To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20110603171134.73163175DD@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: "David Young" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: dyoung Date: Fri Jun 3 17:11:34 UTC 2011 Modified Files: src/sys/netinet: tcp_vtw.c Log Message: Defer scheduling vtw_tick() and setting the vtw hooks until vtw_control() is called. In this way, vtw_tick() will be re-scheduled repeatedly while vtw is in use. Pay tcp_vtw_was_enabled no attention in vtw_earlyinit(), since it's always going to be 0 during initialization. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/netinet/tcp_vtw.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.