From 6949a7908729bbbac50a5b59e404224264b5f184 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 14 Mar 2012 14:24:54 +0100 Subject: s4:librpc/rpc: if the connection is dead we don't want to be called recursivly. metze --- source4/librpc/rpc/dcerpc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4') 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); } -- cgit