cvs commit: src/sys/kern kern_tc.c

Warner Losh imp at FreeBSD.org
Tue Aug 19 22:34:28 PDT 2003


imp         2003/08/19 22:34:27 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             kern_tc.c 
  Log:
  Fix an extreme edge case in leap second handling.  We need to call
  ntp_update_second twice when we have a large step in case that step
  goes across a scheduled leap second.  The only way this could happen
  would be if we didn't call tc_windup over the end of day on the day of
  a leap second, which would only happen if timeouts were delayed for
  seconds.  While it is an edge case, it is an important one to get
  right for my employer.
  
  Sponsored by: Timing Solutions Corporation
  
  Revision  Changes    Path
  1.155     +6 -4      src/sys/kern/kern_tc.c


More information about the cvs-src mailing list