svn commit: r213279 - head/sys/netinet/ipfw
Luigi Rizzo
luigi at FreeBSD.org
Wed Sep 29 21:02:31 UTC 2010
Author: luigi
Date: Wed Sep 29 21:02:31 2010
New Revision: 213279
URL: http://svn.freebsd.org/changeset/base/213279
Log:
remove an unnecessary (and wrong) assignment.
It was meant to reset idle_time (and it was not needed),
but i even used the wrong field.
Obtained from: Oleg
MFC after: 3 days
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 Wed Sep 29 21:01:16 2010 (r213278)
+++ head/sys/netinet/ipfw/ip_dn_io.c Wed Sep 29 21:02:31 2010 (r213279)
@@ -760,7 +760,6 @@ 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