From: Derrick Brashear Date: Fri, 28 May 2010 12:49:37 +0000 (-0400) Subject: prune further list of connections we natping on X-Git-Tag: openafs-devel-1_5_75~205 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f05d22c1b9bc21f0baa415444cf4f05aa1de5e0b;p=packages%2Fo%2Fopenafs.git prune further list of connections we natping on if it had tokens before, again, still not worth a nat ping. nor for the vlserver. Change-Id: I30281801b604b67b418b8a54a1889c54c8f6e4db Reviewed-on: http://gerrit.openafs.org/2058 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afs/afs_conn.c b/src/afs/afs_conn.c index ce4dc0b76..353c6754f 100644 --- a/src/afs/afs_conn.c +++ b/src/afs/afs_conn.c @@ -299,7 +299,7 @@ afs_ConnBySA(struct srvAddr *sap, unsigned short aport, afs_int32 acell, * Only do this for the base connection, not per-user. * Will need to be revisited if/when CB gets security. */ - if (isec == 0) + if ((isec == 0) && (service != 52) && !(tu->states & UTokensBad)) rx_SetConnSecondsUntilNatPing(tc->id, 20); tc->forceConnectFS = 0; /* apparently we're appropriately connected now */