Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Oct 2010 15:38:35 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r213329 - head/sys/netinet/ipfw
Message-ID:  <201010011538.o91FcZni010714@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010011538.o91FcZni010714>