git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
30c0ef8
)
DEVEL15-forcenewconns-even-with-one-interface-20070226
author
Chaskiel M Grundman
<cg2v@andrew.cmu.edu>
Mon, 26 Feb 2007 22:14:58 +0000 (22:14 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Mon, 26 Feb 2007 22:14:58 +0000 (22:14 +0000)
otherwise we don't discard vlserver connections when a server is "down"
(cherry picked from commit
9d5de311a6c2d96ee5092d58db28fff1b5602be7
)
src/afs/afs_conn.c
patch
|
blob
|
history
diff --git
a/src/afs/afs_conn.c
b/src/afs/afs_conn.c
index
78b2598
..
c883d72
100644
(file)
--- a/
src/afs/afs_conn.c
+++ b/
src/afs/afs_conn.c
@@
-339,14
+339,6
@@
ForceNewConnections(struct srvAddr *sap)
if (!sap)
return; /* defensive check */
- /* if client is not multihomed, do nothing */
- ObtainReadLock(&afs_xinterface);
- if (afs_cb_interface.numberOfInterfaces <= 1) {
- ReleaseReadLock(&afs_xinterface);
- return;
- }
- ReleaseReadLock(&afs_xinterface);
-
ObtainWriteLock(&afs_xconn, 413);
for (tc = sap->conns; tc; tc = tc->next)
tc->forceConnectFS = 1;