]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/sunrpc/auth_gss/svcauth_gss.c
svcrpc: ensure gss DESTROY tokens free contexts from cache
[linux-2.6-omap-h63xx.git] / net / sunrpc / auth_gss / svcauth_gss.c
index e8ed848ecd676e567be9a7dba4851a0b75f720c3..481f984e9a22278bc9ef1993bc3064c77fc65a51 100644 (file)
@@ -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;