OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-246-g78ed034
Gerrit Code Review
gerrit@openafs.org
Sun, 23 Sep 2018 22:11:16 -0400
The following commit has been merged in the master branch:
commit 78ed034603781a979687a45c08eb8b13e515e8bf
Author: Andrew Deason <adeason@sinenomine.net>
Date: Tue Aug 7 11:17:43 2018 -0500
Call rx_InitHost once during daemon startup
Currently, a few daemons calls rx_InitHost in different places, and
under different conditions. For example, vlserver calls rx_InitHost
only when we -rxbind to a specific ip address, and then also makes an
additional rx_Init call. Other daemons always call rx_InitHost, or
just call rx_InitHost sometimes and don't make an extra rx_Init call.
To try to make the various daemons behave a little more consistently,
change the startup code to always call rx_InitHost, and to only call
it once. Note that rx_InitHost is the same as calling rx_Init with
INADDR_ANY as the ip address, and calling rx_Init* after a previous
rx_Init* call is effectively a no-op.
Change-Id: Ifd15175349a7b4695e684ca82deb8a8af5063073
Reviewed-on: https://gerrit.openafs.org/13271
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/bozo/bosserver.c | 6 +-----
src/budb/server.c | 8 +++++++-
src/kauth/kaserver.c | 7 ++++++-
src/ptserver/ptserver.c | 11 ++++++-----
src/vlserver/vlserver.c | 3 +--
5 files changed, 21 insertions(+), 14 deletions(-)
--
OpenAFS Master Repository