Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2000 17:46:36 -0800 (PST)
From:      Brian Somers <brian@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/ppp timer.c
Message-ID:  <200003140146.RAA81860@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003140146.RAA81860>