]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
viced: Remove extraneous h_AHTAHT_r in h_GetHost_r
authorAndrew Deason <adeason@sinenomine.net>
Fri, 17 Feb 2012 22:24:16 +0000 (16:24 -0600)
committerDerrick Brashear <shadow@dementix.org>
Thu, 23 Feb 2012 17:35:08 +0000 (09:35 -0800)
We added this address to the host with an addInterfaceAddr_r call just
a few lines before, which adds the host to the address hash table.
Another call to h_AddHostToAddrHashTable_r is pure overhead and
confusing.

Reviewed-on: http://gerrit.openafs.org/6729
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Alistair Ferguson <alistair.ferguson@mac.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit f52c33ea10de8d1d07a9c4805366283e6ca635dc)

Change-Id: Ib97718a42f9997a1fa257533296c62f3d618e1a7
Reviewed-on: http://gerrit.openafs.org/6769
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Alistair Ferguson <alistair.ferguson@mac.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/viced/host.c

index 9f89688c3015e986d8f3232d0099e37c7ca5d437..1ecd98c877fbc8c6a8eec82fde673ae9143cf199 100644 (file)
@@ -2154,7 +2154,6 @@ h_GetHost_r(struct rx_connection *tcon)
                                }
                            }
                        }
-                       h_AddHostToAddrHashTable_r(haddr, hport, oldHost);
                        oldHost->host = haddr;
                        oldHost->port = hport;
                        rxconn = oldHost->callback_rxcon;