diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2018-09-18 20:47:12 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2018-09-18 20:47:12 +0000 |
commit | 2df46c51ae9793cc4736fc825260d2663c279ddd (patch) | |
tree | 643b25d779ced441af652910cb2c918ee9f0c479 /usr.sbin/eigrpd/parse.y | |
parent | feb8e6be641f88ad65d9d6cf06e26c8d41f28fb8 (diff) |
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.sbin/eigrpd/parse.y')
0 files changed, 0 insertions, 0 deletions