]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update the time delta of the first item in TimerList before
authorBrian Somers <brian@FreeBSD.org>
Fri, 19 Nov 1999 23:21:13 +0000 (23:21 +0000)
committerBrian Somers <brian@FreeBSD.org>
Fri, 19 Nov 1999 23:21:13 +0000 (23:21 +0000)
commit83569b351c4f9868b043e7c48e90d5ba56da9838
tree4e77eac5bf83451ce692dad96e3d30490fbca8e6
parentf94f8efc61f135820d2c086e36422f19b932f20c
Update the time delta of the first item in TimerList before
inserting a new item.  Without this, it's possible to
mis-insert quite badly... but only by as much as the load of
the first item, which is almost always 1 second.

Initialise the timerservice with `restart' set if we're inserting
at the start of the list.
usr.sbin/ppp/timer.c