mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
afs: put back conn if not using in checkserver loop
we get a conn, check it for eligibility, and if not, just abandon it. "oops" (cherry picked from commit 26fc0cda94c24a1c5f0bef109bca920456c25265) Change-Id: I8e4f762b5170f07d6abc3508e88f001ca147c3a7 Reviewed-on: http://gerrit.openafs.org/6521 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
873ac9cc94
commit
946fee039b
@ -640,7 +640,8 @@ afs_CheckServers(int adown, struct cell *acellp)
|
||||
conntimer[nconns]=0;
|
||||
}
|
||||
nconns++;
|
||||
}
|
||||
} else /* not holding, kill ref */
|
||||
afs_PutConn(tc, rxconn, SHARED_LOCK);
|
||||
} /* Outer loop over addrs */
|
||||
|
||||
AFS_GUNLOCK();
|
||||
|
Loading…
x
Reference in New Issue
Block a user