From owner-svn-src-head@FreeBSD.ORG Fri Oct 1 15:38:35 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C70610656A8; Fri, 1 Oct 2010 15:38:35 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8C87A8FC19; Fri, 1 Oct 2010 15:38:35 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o91FcZrW010716; Fri, 1 Oct 2010 15:38:35 GMT (envelope-from luigi@svn.freebsd.org) Received: (from luigi@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o91FcZni010714; Fri, 1 Oct 2010 15:38:35 GMT (envelope-from luigi@svn.freebsd.org) Message-Id: <201010011538.o91FcZni010714@svn.freebsd.org> From: Luigi Rizzo Date: Fri, 1 Oct 2010 15:38:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r213329 - head/sys/netinet/ipfw X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2010 15:38:35 -0000 Author: luigi Date: Fri Oct 1 15:38:35 2010 New Revision: 213329 URL: http://svn.freebsd.org/changeset/base/213329 Log: put back the assigment to sched_time. It was correct, and it was necessary. Submitted by: Riccardo Panicucci Modified: head/sys/netinet/ipfw/ip_dn_io.c Modified: head/sys/netinet/ipfw/ip_dn_io.c ============================================================================== --- head/sys/netinet/ipfw/ip_dn_io.c Fri Oct 1 15:14:14 2010 (r213328) +++ head/sys/netinet/ipfw/ip_dn_io.c Fri Oct 1 15:38:35 2010 (r213329) @@ -760,6 +760,7 @@ dummynet_io(struct mbuf **m0, int dir, s /* Do this only on the first packet on an idle pipe */ struct dn_link *p = &fs->sched->link; + si->sched_time = dn_cfg.curr_time; si->credit = dn_cfg.io_fast ? p->bandwidth : 0; if (p->burst) { uint64_t burst = (dn_cfg.curr_time - si->idle_time) * p->bandwidth;