summaryrefslogtreecommitdiff
path: root/src/responder/ssh
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:09:56 -0500
commit65976ea5e9767bfaced81dfb97dc87d59f50b57e (patch)
treedd26f9d109a837f698133f2a218f6269e31d0fb9 /src/responder/ssh
parentbd72b3510105599b5bdaf00c203df1164b304238 (diff)
downloadsssd-65976ea5e9767bfaced81dfb97dc87d59f50b57e.tar.gz
sssd-65976ea5e9767bfaced81dfb97dc87d59f50b57e.tar.bz2
sssd-65976ea5e9767bfaced81dfb97dc87d59f50b57e.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/ssh')
-rw-r--r--src/responder/ssh/sshsrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/ssh/sshsrv.c b/src/responder/ssh/sshsrv.c
index 886070e2..8e979a78 100644
--- a/src/responder/ssh/sshsrv.c
+++ b/src/responder/ssh/sshsrv.c
@@ -71,7 +71,7 @@ static void ssh_dp_reconnect_init(struct sbus_connection *conn,
"SSH");
/* all fine */
if (ret == EOK) {
- handle_requests_after_reconnect();
+ handle_requests_after_reconnect(be_conn->rctx);
return;
}
}