From cd944733be5105e4aecaee8d6056a146c1c84ca4 Mon Sep 17 00:00:00 2001 From: Nickolai Zeldovich Date: Tue, 29 Jan 2002 19:52:14 +0000 Subject: [PATCH] STABLE12-rx-cleanup-deadlock-and-refcnt-leak-20020121 The first part of the patch fixes a likely deadlock in the case when we're destroying a client connection with active calls. The second part fixes a minor connection refcount leak in my recent modification to protect against half-reachable clients. --- src/rx/rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rx/rx.c b/src/rx/rx.c index 21d456ba3..f4c255da7 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -899,7 +899,7 @@ static void rxi_DestroyConnectionNoLock(conn) RX_CALL_REFCOUNT_DELAY); if (call->state == RX_STATE_PRECALL || call->state == RX_STATE_ACTIVE) { - rxi_SendDelayedAck(call->delayedAckEvent, call, 0); + rxi_SendAck(call, 0, 0, 0, 0, RX_ACK_DELAY, 0); } else { rxi_AckAll((struct rxevent *)0, call, 0); } -- 2.39.5