]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-viced-probe-uuid-on-old-connection-20060210
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 10 Feb 2006 17:12:25 +0000 (17:12 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 10 Feb 2006 17:12:25 +0000 (17:12 +0000)
When we have found an existing host via Uuid, send the probe to the
connection associated with the old host instead of the new one.  If
you send it to the new connection, we will fail to detect that the
old host is no longer responding and hence that it should be removed.
This should solve the 55 second delay problem seen from clients with
Uuids that move addresses or sit behind a NAT.

(cherry picked from commit 0c77d5332da76d223b007f8e85e8d81148b17737)

src/viced/host.c

index 72ad74d065bb6800e27f8b3279ef3f374def2e3c..352344934883e5e7b7f733d1490af1c7f3a5cafc 100644 (file)
@@ -1306,7 +1306,7 @@ h_GetHost_r(struct rx_connection *tcon)
 
                     if (oldHost->interface) {
                        afsUUID uuid = oldHost->interface->uuid;
-                        cb_conn = host->callback_rxcon;
+                        cb_conn = oldHost->callback_rxcon;
                         rx_GetConnection(cb_conn);
                        H_UNLOCK;
                        code = RXAFSCB_ProbeUuid(cb_conn, &uuid);