]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: improve hashing of sources
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 23 Sep 2014 15:12:56 +0000 (17:12 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 25 Sep 2014 08:58:57 +0000 (10:58 +0200)
commit4e0df8c2a69dff10adf9221285970ddcafb87c6e
tree7f989c49be8028950760da6da4e77213f3e2fb70
parent37bc30c8d90eccaee7c549ee65166ba3269a2756
ntp: improve hashing of sources

Use 32-bit hash and switch to quadratic probing. This will be useful to
allow resizing of the hash table and not limit the number of sources.
ntp_sources.c