[PATCH] Fix NFS3 krb5 clients on x86-64 (fwd)

From: Adrian Bunk
Date: Sun Oct 17 2004 - 18:20:50 EST



The patch below by Mark Goodman (already ACK'ed bt Trond) still applies
against both 2.6.9-rc4 and 2.6.9-rc4-mm1.

I've rediffed it since the original patch seems to have suffered from
some whitespace damage.



----- Forwarded message from Mark Goodman <mgoodman@xxxxxxxxxxxxxxxxx> -----

Date: Mon, 20 Sep 2004 18:32:50 -0700
From: Mark Goodman <mgoodman@xxxxxxxxxxxxxxxxx>
To: trond.myklebust@xxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Subject: [PATCH] Fix NFS3 krb5 clients on x86-64

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>
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.9-rc4-full/net/sunrpc/auth_gss/auth_gss.c.old 2004-10-18 01:06:10.000000000 +0200
+++ linux-2.6.9-rc4-full/net/sunrpc/auth_gss/auth_gss.c 2004-10-18 01:08:14.000000000 +0200
@@ -246,7 +246,7 @@
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/