summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2020-12-15 03:35:26 +0000
committerdlg <dlg@openbsd.org>2020-12-15 03:35:26 +0000
commitecdeb12e0bf1774d8e5c03dfcaf47fcbdf0c6d58 (patch)
treea19e21d33d53306f2b0ec6265f4a1e0d0644e3f7 /lib/libssl/ssl_locl.h
parentturn hardware rx mbuf timestamping off by default. (diff)
downloadwireguard-openbsd-ecdeb12e0bf1774d8e5c03dfcaf47fcbdf0c6d58.tar.xz
wireguard-openbsd-ecdeb12e0bf1774d8e5c03dfcaf47fcbdf0c6d58.zip
go to splhigh around the kernel clock and hardware timer reads.
the idea is to avoid some other work, like a hardware interrupt, running in between the reads of the kernel and chip clocks and therefore skewing the interval calculations. this tightens up a lot of the slop seen when using the cqe timestamp for an mbuf timestamp, but there's still something not quite right.
Diffstat (limited to 'lib/libssl/ssl_locl.h')
0 files changed, 0 insertions, 0 deletions