OpenAFS CVS Commit: openafs/src/rx by zacheiss

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Wed, 21 Aug 2002 21:43:31 EDT


Update of /cvs/openafs/src/rx
In directory GRAND.CENTRAL.ORG:/home/zacheiss/openafs-stable-1_2_x/openafs/src/rx

Modified Files:
      Tag: openafs-stable-1_2_x
	rx.c rx.h 
Log Message:

DELTA STABLE12-rx-protect-servers-from-half-reachable-clients-20020119
AUTHOR kolya@mit.edu

This patch should protect Rx-based servers from half-reachable clients,
which issue requests but don't acknowledge the server's response, thereby
eventually tying up all of the server threads, and denying service to all
other clients.  Such clients can arise in case of uni-directional routing
failures, whereby all packets from the server to client are lost but not
the other way around.

The idea it to ping clients (using Rx ack ping) before attaching them to
a thread, if (a) we're running low on threads, and (b) the client hasn't
responsed to a ping recently.


--- DELTA config for openafs-stable-1_2_x follows ---
STABLE12-rx-protect-servers-from-half-reachable-clients-20020119 openafs/src/rx/rx.c 1.22.2.7 1.22.2.8
STABLE12-rx-protect-servers-from-half-reachable-clients-20020119 openafs/src/rx/rx.h 1.7.2.5 1.7.2.6