1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-25 07:49:18 +00:00

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
This commit is contained in:
Luigi Rizzo 2010-09-29 21:02:31 +00:00
parent da5c5453e7
commit e53a34a766
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213279

View File

@ -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;