diff options
| author | 2018-09-18 20:47:11 +0000 | |
|---|---|---|
| committer | 2018-09-18 20:47:11 +0000 | |
| commit | a701e5dfafb22455e8cfbca0e7f2f834808b1a9d (patch) | |
| tree | b11c4b91d263de17326aa6e9dfec0c451e5332df /usr.bin/ssh/ssh-add.c | |
| parent | Update to compiler-rt 6.0.0. (diff) | |
| download | wireguard-openbsd-a701e5dfafb22455e8cfbca0e7f2f834808b1a9d.tar.xz wireguard-openbsd-a701e5dfafb22455e8cfbca0e7f2f834808b1a9d.zip | |
Updating time counters without memory barriers is wrong. Put
membar_producer() into tc_windup() and membar_consumer() into the
uptime functions. They order the visibility of the time and
generation number updates.
This is a combination of what NetBSD and FreeBSD do.
OK kettenis@
Diffstat (limited to 'usr.bin/ssh/ssh-add.c')
0 files changed, 0 insertions, 0 deletions
