summaryrefslogtreecommitdiffstats
path: root/src/responder/autofs
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-03-07 18:05:06 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-03-08 08:10:18 -0500
commitde9b723da178ab5022c02d88498c9c494aa75a87 (patch)
treeebb4c50e42c202785f3c1492065556a8aa3f4208 /src/responder/autofs
parentca2939f9291a92b2e0339cd888cecae88d6a09f5 (diff)
downloadsssd-de9b723da178ab5022c02d88498c9c494aa75a87.tar.gz
sssd-de9b723da178ab5022c02d88498c9c494aa75a87.tar.xz
sssd-de9b723da178ab5022c02d88498c9c494aa75a87.zip
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
Diffstat (limited to 'src/responder/autofs')
-rw-r--r--src/responder/autofs/autofssrv.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}