diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2020-03-08 14:24:55 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2020-03-14 15:38:49 +0100 |
commit | 0df9186d8d6248ecc3a82094b8cac9262287c704 (patch) | |
tree | f26b6c601260290a307e7fc0208eab791776014e /src/lib/utils.c | |
parent | 9fac3ad2a05c9025acdad6feae3932711dbcd561 (diff) | |
download | ouroboros-0df9186d8d6248ecc3a82094b8cac9262287c704.tar.gz ouroboros-0df9186d8d6248ecc3a82094b8cac9262287c704.zip |
ipcpd: Fix locking in link_state policy
There were updates under rdlock instead of wrlock, causing data races
and trouble. Also speeds up shutdown a bit.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/utils.c')
0 files changed, 0 insertions, 0 deletions