summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl/drepl_fsmo.c
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2011-02-26 23:13:49 +0200
committerKamen Mazdrashki <kamenim@samba.org>2011-02-27 00:23:18 +0200
commit1ca2ec1188098c051fe7ab6d44c9b1cd1f802b18 (patch)
tree284f303a90d8c62f6326b6e98fc8de4f571a4977 /source4/dsdb/repl/drepl_fsmo.c
parent05c90d2fa696517612051a8e7c7dc765723e71f5 (diff)
downloadsamba-1ca2ec1188098c051fe7ab6d44c9b1cd1f802b18.tar.gz
samba-1ca2ec1188098c051fe7ab6d44c9b1cd1f802b18.tar.bz2
samba-1ca2ec1188098c051fe7ab6d44c9b1cd1f802b18.zip
s4-drepl: Schedule event to trigger replication rather than calling run_pending_ops directly
Executing dreplsrv_run_pending_ops() directly may cause a segfault as in case of failure, the _drepl_replica_sync_done_cb() callback gets called *before* drepl_replica_sync() returns. In such case, irpc message gets freed twice - once when irpc_send_reply() gets called and once when drepl_replica_sync() returns
Diffstat (limited to 'source4/dsdb/repl/drepl_fsmo.c')
0 files changed, 0 insertions, 0 deletions