diff options
author | peter <peter@FreeBSD.org> | 2008-10-28 03:26:25 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2008-10-28 03:26:25 +0000 |
commit | b5b26198a7f928a0b1366da879539ba7818485af (patch) | |
tree | 15ee9bfaf5dc152333413e25dd19659ee3b6ce62 /lib/libutil/auth.c | |
parent | 3dde3e513b6cbdb38aaa7a00356615eda15f4d15 (diff) | |
download | FreeBSD-src-b5b26198a7f928a0b1366da879539ba7818485af.zip FreeBSD-src-b5b26198a7f928a0b1366da879539ba7818485af.tar.gz |
After a machine has been up for a bit more than 20 days with HZ=1000,
"ticks" goes negative. This breaks the signed comparison in softclock.
This causes sleep() to never wake up, tcp to stop, etc etc. This is
bad(TM). Use the SEQ_LT() method from tcp's sequence number comparisons.
Diffstat (limited to 'lib/libutil/auth.c')
0 files changed, 0 insertions, 0 deletions