race condition fixed on configuration reload

Race condition on service free'ing
This commit is contained in:
z3APA3A committed 2015-11-29 00:01:41 +03:00
1 parent 0e4a507dd8
commit 62775da1d5
3 files changed
+124 -121

No files matched your search

+2
View File
@@ -246,6 +246,7 @@ unsigned long udpresolve(int af, unsigned char * name, unsigned char * value, un
struct ace * copyacl (struct ace *ac);
struct auth * copyauth (struct auth *);
void * itfree(void *data, void * retval);
void freeacl(struct ace *ac);
void freeauth(struct auth *);
void freefilter(struct filter *filter);
@@ -308,6 +309,7 @@ struct dictionary;
struct node;
struct property;
extern pthread_mutex_t config_mutex;
extern pthread_mutex_t bandlim_mutex;
extern pthread_mutex_t hash_mutex;
extern pthread_mutex_t tc_mutex;