From 7647c6c4a1a23bdf3ffe502d31f26ed052d0378a Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Thu, 11 Apr 2013 09:20:03 -0400 Subject: [PATCH] Windows: cm_Analyze VICECONNBAD and VICETOKENDEAD cm_Analyze forces new rx connections in response to VICECONNBAD and VICETOKENDEAD errors but failed to mark the cm_req_t with CM_REQ_NEW_CONN_FORCED and failed to set 'forcing_new' to true ensuring that a retry would take place even if the cm_req_t included the no retry flag. Change-Id: Ieb2bf141279192a591eb66eacab8150c10d029ce Reviewed-on: http://gerrit.openafs.org/9773 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/WINNT/afsd/cm_conn.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/WINNT/afsd/cm_conn.c b/src/WINNT/afsd/cm_conn.c index 2577827..06f4cb8 100644 --- a/src/WINNT/afsd/cm_conn.c +++ b/src/WINNT/afsd/cm_conn.c @@ -1201,7 +1201,9 @@ cm_Analyze(cm_conn_t *connp, retry = 1; } } else if (errorCode == VICECONNBAD || errorCode == VICETOKENDEAD) { - cm_ForceNewConnections(serverp); + reqp->flags |= CM_REQ_NEW_CONN_FORCED; + forcing_new = 1; + cm_ForceNewConnections(serverp); if ( timeLeft > 2 ) retry = 1; } else { -- 1.9.4