mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 23:40:13 +00:00
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:
parent
4532e96bb9
commit
a287736804
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user