The expiration time passed down in the gss context is (duh!) in seconds, not jiffies! net/sunrpc/auth_gss/gss_krb5_seal.c | 2 +- net/sunrpc/auth_gss/gss_krb5_unseal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -puN net/sunrpc/auth_gss/gss_krb5_seal.c~fix_krb5_expiry net/sunrpc/auth_gss/gss_krb5_seal.c --- linux-2.6.6-rc3/net/sunrpc/auth_gss/gss_krb5_seal.c~fix_krb5_expiry 2004-05-12 17:49:45.000000000 -0400 +++ linux-2.6.6-rc3-bfields/net/sunrpc/auth_gss/gss_krb5_seal.c 2004-05-12 20:02:11.000000000 -0400 @@ -91,7 +91,7 @@ krb5_make_token(struct krb5_ctx *ctx, in dprintk("RPC: gss_krb5_seal\n"); - now = jiffies; + now = get_seconds(); if (qop_req != 0) goto out_err; diff -puN net/sunrpc/auth_gss/gss_krb5_unseal.c~fix_krb5_expiry net/sunrpc/auth_gss/gss_krb5_unseal.c --- linux-2.6.6-rc3/net/sunrpc/auth_gss/gss_krb5_unseal.c~fix_krb5_expiry 2004-05-12 17:51:05.000000000 -0400 +++ linux-2.6.6-rc3-bfields/net/sunrpc/auth_gss/gss_krb5_unseal.c 2004-05-12 17:51:22.000000000 -0400 @@ -178,7 +178,7 @@ krb5_read_token(struct krb5_ctx *ctx, if (qop_state) *qop_state = GSS_C_QOP_DEFAULT; - now = jiffies; + now = get_seconds(); ret = GSS_S_CONTEXT_EXPIRED; if (now > ctx->endtime) _