* [PATCH] Fix NFS3 krb5 clients on x86-64 (fwd)
@ 2004-10-17 23:15 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2004-10-17 23:15 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: Mark Goodman, trond.myklebust, linux-kernel
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@CSUA.Berkeley.EDU> -----
Date: Mon, 20 Sep 2004 18:32:50 -0700
From: Mark Goodman <mgoodman@CSUA.Berkeley.EDU>
To: trond.myklebust@fys.uio.no
Cc: linux-kernel@vger.kernel.org
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@csua.berkeley.edu>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- 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)))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-17 23:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-17 23:15 [PATCH] Fix NFS3 krb5 clients on x86-64 (fwd) Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox