diff options
author | luigi <luigi@FreeBSD.org> | 2010-10-01 15:38:35 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2010-10-01 15:38:35 +0000 |
commit | c271001bfaec426a43c4b59f1c02908057ca43a8 (patch) | |
tree | 39ce9df920befc8e77935b54957203a663abcd14 /sys/netinet | |
parent | 054f4fff2340a9f86e60a8026103db93955c7973 (diff) | |
download | FreeBSD-src-c271001bfaec426a43c4b59f1c02908057ca43a8.zip FreeBSD-src-c271001bfaec426a43c4b59f1c02908057ca43a8.tar.gz |
put back the assigment to sched_time. It was correct, and
it was necessary.
Submitted by: Riccardo Panicucci
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ipfw/ip_dn_io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ipfw/ip_dn_io.c b/sys/netinet/ipfw/ip_dn_io.c index 3442687..52a0f9e 100644 --- a/sys/netinet/ipfw/ip_dn_io.c +++ b/sys/netinet/ipfw/ip_dn_io.c @@ -760,6 +760,7 @@ 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; |