]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
further constrict nat pings
authorDerrick Brashear <shadow@dementia.org>
Mon, 7 Jun 2010 04:29:06 +0000 (00:29 -0400)
committerDerrick Brashear <shadow@dementia.org>
Thu, 10 Jun 2010 15:30:41 +0000 (08:30 -0700)
one more constrainment of nat pings on unix

Change-Id: I8b3db989b0e16a79cd63795147145c5e0ab55e6e
Reviewed-on: http://gerrit.openafs.org/2091
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_conn.c

index 353c6754fbdc605228146ce0921909d056443f1a..0af041756be3a5d0d7c4bd674d306b993e69c883 100644 (file)
@@ -299,7 +299,8 @@ 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) && (service != 52) && !(tu->states & UTokensBad))
+       if ((isec == 0) && (service != 52) && !(tu->states & UTokensBad) &&
+           (tu->vid == UNDEFVID))
            rx_SetConnSecondsUntilNatPing(tc->id, 20);
 
        tc->forceConnectFS = 0; /* apparently we're appropriately connected now */