svn commit: r213329 - head/sys/netinet/ipfw
Luigi Rizzo
luigi at FreeBSD.org
Fri Oct 1 15:38:35 UTC 2010
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;
More information about the svn-src-head
mailing list