OpenAFS CVS Commit: openafs/src/rx by shadow

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Sat, 19 Jan 2002 11:28:33 EST


Update of /cvs/openafs/src/rx
In directory GRAND.CENTRAL.ORG:/data/sb/openafs/src/rx

Modified Files:
	rx.c rx.h 
Log Message:
DELTA 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 follows ---
rx-protect-servers-from-half-reachable-clients-20020119 openafs/src/rx/rx.c 1.28 1.29
rx-protect-servers-from-half-reachable-clients-20020119 openafs/src/rx/rx.h 1.12 1.13