OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-250-g7d6080a
Gerrit Code Review
gerrit@openafs.org
Wed, 13 Oct 2010 19:52:52 -0700 (PDT)
The following commit has been merged in the master branch:
commit 7d6080a841ff8c91052fa708d5be3b582f8a971d
Author: Andrew Deason <adeason@sinenomine.net>
Date: Fri Oct 8 11:51:30 2010 -0500
RX: Force sane timeout values
Currently we do not check the specified timeout values when someone
changes a connection's dead, idle, or hard dead time. However, if the
conn's dead time is larger than the other two times, a loss of network
activity will result in one of the other timeouts getting triggered
first.
To prevent this and possibly other problems from happening, force a
connection's timeouts to always obey the relationship
secondsUntilDead <= idleDeadTime <= hardDeadTime, by checking these
values whenever they are changed.
Change-Id: I681dce7f359bf71333e69ceab8186bdc1d54d8dc
Reviewed-on: http://gerrit.openafs.org/2947
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/libafsrpc/afsrpc.def | 2 +
src/rx/rx.c | 50 ++++++++++++++++++++++++++++++++++++++++-
src/rx/rx.h | 3 --
src/rx/rx_prototypes.h | 2 +
src/shlibafsrpc/libafsrpc.map | 2 +
5 files changed, 55 insertions(+), 4 deletions(-)
--
OpenAFS Master Repository