s4:librpc/rpc: if the connection is dead we don't want to be called recursivly.
authorStefan Metzmacher <metze@samba.org>
Wed, 14 Mar 2012 13:24:54 +0000 (14:24 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 15 Mar 2012 06:35:28 +0000 (07:35 +0100)
metze

source4/librpc/rpc/dcerpc.c

index 599ad786c64f5d422a87d414693395677b6ee9de..63d91948f9b69e9d49a341b3097cdf34c41ba9c6 100644 (file)
@@ -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);
        }