diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-19 11:46:35 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-19 11:46:35 +0100 |
commit | 1bd9b92735543e0ad651a60f2b05c567e8139933 (patch) | |
tree | bd9466b379b4d87f1bac189a66fb26aa63c0eb4a /src/fuzzy_storage.c | |
parent | e45def994b2f6b493233d485552d4251898687b2 (diff) | |
download | rspamd-1bd9b92735543e0ad651a60f2b05c567e8139933.tar.gz rspamd-1bd9b92735543e0ad651a60f2b05c567e8139933.zip |
[CritFix] Fix maps race conditions on reload
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r-- | src/fuzzy_storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index 234822018..5499fa732 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -2903,7 +2903,7 @@ start_fuzzy (struct rspamd_worker *worker) ctx->resolver = dns_resolver_init (worker->srv->logger, ctx->ev_base, worker->srv->cfg); - rspamd_map_watch (worker->srv->cfg, ctx->ev_base, ctx->resolver, 0); + rspamd_map_watch (worker->srv->cfg, ctx->ev_base, ctx->resolver, worker, 0); /* Get peer pipe */ memset (&srv_cmd, 0, sizeof (srv_cmd)); |