mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 08:20:16 +00:00
viced: Remove extraneous h_AHTAHT_r in h_GetHost_r
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. Change-Id: Ib08817274e632f67776956ede8b56eaf0dce879e 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>
This commit is contained in:
parent
3c803580bb
commit
f52c33ea10
@ -2097,7 +2097,6 @@ h_GetHost_r(struct rx_connection *tcon)
|
||||
}
|
||||
}
|
||||
}
|
||||
h_AddHostToAddrHashTable_r(haddr, hport, oldHost);
|
||||
oldHost->host = haddr;
|
||||
oldHost->port = hport;
|
||||
rxconn = oldHost->callback_rxcon;
|
||||
|
Loading…
Reference in New Issue
Block a user