summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2010-09-29 21:02:31 +0000
committerluigi <luigi@FreeBSD.org>2010-09-29 21:02:31 +0000
commita41992e8eaa7dc04439c09368d6177d2c982b021 (patch)
treed5cc9a7c59d90fc03065120d95dea53a099d35a8 /sys/netinet
parent0583e2fd2e4445a5898268ce56dc18fd66d6dd9f (diff)
downloadFreeBSD-src-a41992e8eaa7dc04439c09368d6177d2c982b021.zip
FreeBSD-src-a41992e8eaa7dc04439c09368d6177d2c982b021.tar.gz
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
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ipfw/ip_dn_io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netinet/ipfw/ip_dn_io.c b/sys/netinet/ipfw/ip_dn_io.c
index 52a0f9e..3442687 100644
--- a/sys/netinet/ipfw/ip_dn_io.c
+++ b/sys/netinet/ipfw/ip_dn_io.c
@@ -760,7 +760,6 @@ dummynet_io(struct mbuf **m0, int dir, struct ip_fw_args *fwa)
/* 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;
OpenPOWER on IntegriCloud