Revert "smbd: use raw_ev_ctx to clear the MSG_SMB_CONF_UPDATED registration"
authorRalph Boehme <slow@samba.org>
Thu, 27 Dec 2018 14:21:04 +0000 (15:21 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 11 Jan 2019 22:11:17 +0000 (23:11 +0100)
This reverts commit f5f9b719741465c7be3de20a6a69ec106ecc4568.

See the discussion in

https://lists.samba.org/archive/samba-technical/2018-December/131731.html

for the reasoning behind this revert.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/process.c

index dbcf131..03aa225 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->raw_ev_ctx);
+                            MSG_SMB_CONF_UPDATED, sconn->ev_ctx);
        messaging_register(sconn->msg_ctx, sconn,
                           MSG_SMB_CONF_UPDATED, smbd_conf_updated);