Date: Tue, 19 Aug 2003 22:34:27 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_tc.c Message-ID: <200308200534.h7K5YR62021571@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308200534.h7K5YR62021571>