From owner-cvs-src-old@FreeBSD.ORG Sat Feb 5 23:32:36 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9480710657C0 for ; Sat, 5 Feb 2011 23:32:36 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 823A48FC12 for ; Sat, 5 Feb 2011 23:32:36 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p15NWaRC078215 for ; Sat, 5 Feb 2011 23:32:36 GMT (envelope-from luigi@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p15NWaJE078214 for cvs-src-old@freebsd.org; Sat, 5 Feb 2011 23:32:36 GMT (envelope-from luigi@repoman.freebsd.org) Message-Id: <201102052332.p15NWaJE078214@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to luigi@repoman.freebsd.org using -f From: Luigi Rizzo Date: Sat, 5 Feb 2011 23:32:17 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet/ipfw ip_dn_io.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2011 23:32:36 -0000 luigi 2011-02-05 23:32:17 UTC FreeBSD src repository Modified files: sys/netinet/ipfw ip_dn_io.c Log: SVN rev 218360 on 2011-02-05 23:32:17Z by luigi correct the 'output_time' of packets generated by dummynet. In the dec.2009 rewrite I introduced a bug, using for the computation the arrival time instead of the time the packet has exited from the queue. The bandwidth computation was still correct because it is computed elsewhere, but traffic was sent out in bursts. The bug is also present in RELENG_8 after dec.2009 Thanks to Daikichi Osuga for investingating, finding and fixing the bug with detailed graphs of the behaviour before and after the fix. Submitted by: Daikichi Osuga MFC after: 2 weeks Revision Changes Path 1.12 +1 -1 src/sys/netinet/ipfw/ip_dn_io.c