From 5a05130ba12de25cceb51462c95f7a8082538328 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 7 Mar 2012 18:05:06 -0500 Subject: Use the correct hash table for pending requests The function that handled pending requests on reconnect was checking an orphaned global variable that was never used, redenring the whole function uselsess. This fixes a very nasty bug that was causing requests for which we never received an answer for (for example because the backend failed and was restarted) to be never removed and therefore causing a black hole effect for any other request of the same type. Fixes: https://fedorahosted.org/sssd/ticket/1229 --- src/responder/autofs/autofssrv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/responder/autofs/autofssrv.c') diff --git a/src/responder/autofs/autofssrv.c b/src/responder/autofs/autofssrv.c index 76d270704..4f8f33826 100644 --- a/src/responder/autofs/autofssrv.c +++ b/src/responder/autofs/autofssrv.c @@ -91,7 +91,7 @@ autofs_dp_reconnect_init(struct sbus_connection *conn, "autofs"); /* all fine */ if (ret == EOK) { - handle_requests_after_reconnect(); + handle_requests_after_reconnect(be_conn->rctx); return; } } -- cgit