diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-03-14 14:57:32 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-03-15 07:35:28 +0100 |
commit | 080549f4675484d0de16c5bfae162513f13fcab6 (patch) | |
tree | e5251fbba65f096944edcb87ba94b47776d852f5 /source4/librpc/rpc/dcerpc.h | |
parent | 553a8921a453d839b87b941719b1ad44c694904f (diff) | |
download | samba-080549f4675484d0de16c5bfae162513f13fcab6.tar.gz |
s4:librpc/rpc: ship requests via an immediate event
Deep inside dcerpc_ship_next_request() some code path
could trigger dcerpc_connection_dead(), which means
it's not safe to do any processing after calling dcerpc_ship_next_request().
metze
Diffstat (limited to 'source4/librpc/rpc/dcerpc.h')
-rw-r--r-- | source4/librpc/rpc/dcerpc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h index 22afdf880fa..359efdabc0f 100644 --- a/source4/librpc/rpc/dcerpc.h +++ b/source4/librpc/rpc/dcerpc.h @@ -63,6 +63,9 @@ struct dcecli_connection { const char *binding_string; struct tevent_context *event_ctx; + struct tevent_immediate *io_trigger; + bool io_trigger_pending; + /** Directory in which to save ndrdump-parseable files */ const char *packet_log_dir; |