From: Andrew Deason Date: Tue, 11 Sep 2012 19:23:02 +0000 (-0500) Subject: rx: Skip rxi_CheckPeerDead if we are DALLY X-Git-Tag: upstream/1.8.0_pre1^2~1923 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a2877368045947ca28c29283ef03f1510d764d4d;p=packages%2Fo%2Fopenafs.git rx: Skip rxi_CheckPeerDead if we are DALLY DALLY connections don't need to be marked dead, so just skip the whole function if we are DALLY. Change-Id: I8a70c93edb54be28cfda499bc8ce3b7b5b7db600 Reviewed-on: http://gerrit.openafs.org/8120 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/rx/rx.c b/src/rx/rx.c index a01b96929..52de6be8f 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -5961,7 +5961,13 @@ static int rxi_CheckPeerDead(struct rx_call *call) { #ifdef AFS_RXERRQ_ENV - int peererrs = rx_atomic_read(&call->conn->peer->neterrs); + int peererrs; + + if (call->state == RX_STATE_DALLY) { + return 0; + } + + peererrs = rx_atomic_read(&call->conn->peer->neterrs); if (call->neterr_gen < peererrs) { /* we have received network errors since this call started; kill * the call */