[PATCH] Fix NFS3 krb5 clients on x86-64

From: Mark Goodman
Date: Mon Sep 20 2004 - 20:34:47 EST


This patch is necessary to make NFS3 krb5 clients work on x86-64. It applies to 2.6.9-rc2. Please apply.

Signed-off-by: Mark Goodman <mgoodman@xxxxxxxxxxxxxxxxx>

--- linux-2.6.9-rc2/net/sunrpc/auth_gss/auth_gss.c.orig 2004-09-20 18:13:55.040214816 -0700
+++ linux-2.6.9-rc2/net/sunrpc/auth_gss/auth_gss.c 2004-09-20 18:14:10.808817624 -0700
@@ -246,7 +246,7 @@ gss_parse_init_downcall(struct gss_api_m
spin_lock_init(&ctx->gc_seq_lock);
atomic_set(&ctx->count,1);

- if (simple_get_bytes(&p, end, uid, sizeof(uid)))
+ if (simple_get_bytes(&p, end, uid, sizeof(*uid)))
goto err_free_ctx;
/* FIXME: discarded timeout for now */
if (simple_get_bytes(&p, end, &timeout, sizeof(timeout)))

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/