diff options
author | Linus Nordberg <linus@nordu.net> | 2017-07-28 10:04:29 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2017-08-01 18:06:02 +0200 |
commit | 545ff94f4b7adfd46306b5356b19f2ab6597b4ec (patch) | |
tree | d3be8ffe5bc2c414a155dc70d2c8d6f55367d026 /radsecproxy.h | |
parent | 38395f8bd3ac1e0fc877bbb52325e901d82b0b19 (diff) |
Add mutex guarding realm refcount.
NOTE: Only guarding writes.
Diffstat (limited to 'radsecproxy.h')
-rw-r--r-- | radsecproxy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/radsecproxy.h b/radsecproxy.h index 244eb5c..c96cc69 100644 --- a/radsecproxy.h +++ b/radsecproxy.h @@ -185,6 +185,7 @@ struct realm { uint8_t accresp; regex_t regex; uint32_t refcount; + pthread_mutex_t refmutex; pthread_mutex_t mutex; struct realm *parent; struct list *subrealms; |