Author: luigi
Date: Fri Oct  1 15:38:35 2010
New Revision: 213329
URL: http://svn.freebsd.org/changeset/base/213329

Log:
  put back the assigment to sched_time. It was correct, and
  it was necessary.
  
  Submitted by: Riccardo Panicucci

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    Fri Oct  1 15:14:14 2010        
(r213328)
+++ head/sys/netinet/ipfw/ip_dn_io.c    Fri Oct  1 15:38:35 2010        
(r213329)
@@ -760,6 +760,7 @@ 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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to