From 7732b689cb4c44414acf74d40919360038ff8292 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Tue, 28 Nov 2006 09:06:34 +0000 Subject: [PATCH] STABLE14-windows-conn-analyze-20061128 force an rx connection reset if VICECONNBAD or VICETOKENDEAD are received (cherry picked from commit cb1997aad8a62b31f1e890dfe093a2d4845e0086) --- src/WINNT/afsd/cm_conn.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/WINNT/afsd/cm_conn.c b/src/WINNT/afsd/cm_conn.c index ea660c7de..f71553e48 100644 --- a/src/WINNT/afsd/cm_conn.c +++ b/src/WINNT/afsd/cm_conn.c @@ -465,8 +465,7 @@ cm_Analyze(cm_conn_t *connp, cm_user_t *userp, cm_req_t *reqp, if ( timeLeft > 2 ) retry = 1; } - else if (errorCode == RXKADEXPIRED || - errorCode == RXKADBADTICKET) { + else if (errorCode == RXKADEXPIRED || errorCode == RXKADBADTICKET) { if (!dead_session) { lock_ObtainMutex(&userp->mx); ucellp = cm_GetUCell(userp, serverp->cellp); @@ -480,6 +479,10 @@ cm_Analyze(cm_conn_t *connp, cm_user_t *userp, cm_req_t *reqp, if ( timeLeft > 2 ) retry = 1; } + } else if (errorCode == VICECONNBAD || errorCode == VICETOKENDEAD) { + cm_ForceNewConnections(serverp); + if ( timeLeft > 2 ) + retry = 1; } else { if (errorCode) { char * s = "unknown error"; -- 2.39.5