smbd: use raw_ev_ctx to clear the MSG_SMB_CONF_UPDATED registration
authorStefan Metzmacher <metze@samba.org>
Thu, 22 Mar 2018 09:54:41 +0000 (10:54 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Jun 2018 06:59:19 +0000 (08:59 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/process.c

index 03aa2254c15685d585fffefff19a4a4f43822d6b..dbcf13187cf2b424d6debf30210df3033e5af95e 100644 (file)
@@ -4063,7 +4063,7 @@ void smbd_process(struct tevent_context *ev_ctx,
                           ID_CACHE_KILL, smbd_id_cache_kill);
 
        messaging_deregister(sconn->msg_ctx,
-                            MSG_SMB_CONF_UPDATED, sconn->ev_ctx);
+                            MSG_SMB_CONF_UPDATED, sconn->raw_ev_ctx);
        messaging_register(sconn->msg_ctx, sconn,
                           MSG_SMB_CONF_UPDATED, smbd_conf_updated);