OpenAFS CVS Commit: openafs/src/rx by shadow

Sat, 29 Dec 2001 18:17:48 EST

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

Modified Files:
      Tag: openafs-stable-1_2_x
Log Message:
DELTA STABLE12-rx-deal-with-missed-keepalives-by-accurately-tracking-call-number-20011229

(as originally discovered by

"This fix deals with the following lose case:
  Client starts a call that, for some reason, takes a long time on the
  server.  While the client waits for the server to finish, client and
  server usually send each other keep alive packets.  If something
  causes those packets to be delayed or dropped, then the client will
  conclude that the call has failed or finished (usually failed), while
  the server is still *busy* doing the call.

  In this circumstance, the client will initiate another call and the
  server will correctly respond that it is busy.  Unfortunately, if the
  callNumber of a received packet doesn't match the callNumber of the
  outstanding call, then the client never sees that the server says it's
  busy.  Instead the server appears as a black hole to the client.

  This fix ensures that the client sees the busy packets when its
  callNumber is reasonably out of sync with the server."

--- DELTA config for openafs-stable-1_2_x follows ---
STABLE12-rx-deal-with-missed-keepalives-by-accurately-tracking-call-number-20011229 openafs/src/rx/rx_packet.c