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 <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
This commit is contained in:
Andrew Deason 2012-09-11 14:23:02 -05:00 committed by Derrick Brashear
parent 4532e96bb9
commit a287736804

View File

@ -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 */