Fix NFS3 krb5 clients on x86-64 (fwd)
Subsystems (3)
PATCH 1/1 Fix NFS3 krb5 clients on x86-64 (fwd)
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 <[email protected]> -----
Date: Mon, 20 Sep 2004 18:32:50 -0700
From: Mark Goodman <[email protected]>
To: [email protected]
Cc: [email protected]
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 <[email protected]>
Signed-off-by Adrian Bunk <[email protected]>
net/sunrpc/auth_gss/auth_gss.c renamed from net/sunrpc/auth_gss/auth_gss.c.old +1 -1
@@ -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)))