[Swan-commit] Changes to ref refs/heads/main
D. Hugh Redelmeier
hugh at vault.libreswan.fi
Sun May 2 14:05:20 UTC 2021
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date: Sun May 2 10:03:01 2021 -0400
libswan, pluto: make sure references to refcnt are atomic
C (pre-11) doesn't guarantee that any integral type is atomic.
All but one use was protected by a mutex. Fix that one.
Also: document a benign race condition.
More information about the Swan-commit