From owner-cvs-all Mon Mar 13 17:46:46 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id DA90437B710; Mon, 13 Mar 2000 17:46:36 -0800 (PST) (envelope-from brian@FreeBSD.org) Received: (from brian@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA81860; Mon, 13 Mar 2000 17:46:36 -0800 (PST) (envelope-from brian@FreeBSD.org) Message-Id: <200003140146.RAA81860@freefall.freebsd.org> From: Brian Somers Date: Mon, 13 Mar 2000 17:46:36 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/ppp timer.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG brian 2000/03/13 17:46:35 PST Modified files: usr.sbin/ppp timer.c Log: When adjusting timer::rest, round to the closest TICKUNIT usecs value. This has minimal impact here, but if ppp ever needs to frequently remove timers before they've timed out, it can badly skew the next item in the timer list without this change. The correct fix would be to store usecs in `rest' rather than TICKUNITs, but the math is easier if we just round... Revision Changes Path 1.40 +9 -7 src/usr.sbin/ppp/timer.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message