OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4718-g3957abe
Gerrit Code Review
gerrit@openafs.org
Wed, 7 Oct 2015 23:36:52 -0400
The following commit has been merged in the master branch:
commit 3957abea2abcd791e97e66be3f3ef211672ce713
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Wed Sep 30 13:23:36 2015 -0400
Windows: multi ping do not leak ping count
In cm_CheckServersMulti() if cm_ConnByServer() fails or if cm_noIPAddr is
zero then a cm_server.pingCount will be leaked. This can result in
servers being marked down and never restored to an up state.
This change adds the necessary pingCount decrement and moves the
assignment of the cm_server_t pointer to serversp[] to make it clear
that the cm_server_t will not be in the array if a failure occurs.
Only objects in the array will have the pingCount decremented after
the RPCs are issued.
Change-Id: I18895c848039e4131a674d814019f236a1b0e5b5
Reviewed-on: http://gerrit.openafs.org/12048
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsd/cm_server.c | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
--
OpenAFS Master Repository