Commit:     cb5c7d668e1af269a9409721268f027b86abf29c
Parent:     54ca95eb362d6988a577965ffb77c08702adb890
Author:     J. Bruce Fields <[EMAIL PROTECTED]>
AuthorDate: Mon Jan 14 16:05:07 2008 -0500
Committer:  J. Bruce Fields <[EMAIL PROTECTED]>
CommitDate: Fri Feb 1 16:42:07 2008 -0500

    svcrpc: ensure gss DESTROY tokens free contexts from cache
    If we don't do this then we'll end up with a pointless unusable context
    sitting in the cache until the time the original context would have
    Signed-off-by: J. Bruce Fields <[EMAIL PROTECTED]>
 net/sunrpc/auth_gss/svcauth_gss.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/sunrpc/auth_gss/svcauth_gss.c 
index e8ed848..481f984 100644
--- a/net/sunrpc/auth_gss/svcauth_gss.c
+++ b/net/sunrpc/auth_gss/svcauth_gss.c
@@ -1126,6 +1126,7 @@ svcauth_gss_accept(struct svc_rqst *rqstp, __be32 *authp)
        case RPC_GSS_PROC_DESTROY:
                if (gss_write_verf(rqstp, rsci->mechctx, gc->gc_seq))
                        goto auth_err;
+               rsci->h.expiry_time = get_seconds();
                set_bit(CACHE_NEGATIVE, &rsci->h.flags);
                if (resv->iov_len + 4 > PAGE_SIZE)
                        goto drop;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to