summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-03-14 14:24:54 +0100
committerStefan Metzmacher <metze@samba.org>2012-03-15 07:35:28 +0100
commit6949a7908729bbbac50a5b59e404224264b5f184 (patch)
tree2e0bf4d3312bb5ad4a9d6661297c4b67047adc4b /source4
parente64b1188bc7a6e42eb4d1d91e0c2a5a8a3fc02d3 (diff)
downloadsamba-6949a7908729bbbac50a5b59e404224264b5f184.tar.gz
samba-6949a7908729bbbac50a5b59e404224264b5f184.tar.bz2
samba-6949a7908729bbbac50a5b59e404224264b5f184.zip
s4:librpc/rpc: if the connection is dead we don't want to be called recursivly.
metze
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/rpc/dcerpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c
index 599ad786c6..63d91948f9 100644
--- a/source4/librpc/rpc/dcerpc.c
+++ b/source4/librpc/rpc/dcerpc.c
@@ -989,6 +989,8 @@ static void dcerpc_connection_dead(struct dcecli_connection *conn, NTSTATUS stat
conn->dead = true;
+ conn->transport.recv_data = NULL;
+
if (conn->transport.shutdown_pipe) {
conn->transport.shutdown_pipe(conn, status);
}