mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
put back the assigment to sched_time. It was correct, and
it was necessary. Submitted by: Riccardo Panicucci
This commit is contained in:
parent
b6b8c0779d
commit
3f18b51c8d
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue