The Linux Kernel Mailing List
 help / color / mirror / Atom feed
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
Date: Mon, 20 Sep 2004 18:32:50 -0700	[thread overview]
Message-ID: <414F84C2.6000608@csua.berkeley.edu> (raw)

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>

--- 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)))


             reply	other threads:[~2004-09-21  1:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-21  1:32 Mark Goodman [this message]
2004-09-21  1:36 ` [PATCH] Fix NFS3 krb5 clients on x86-64 Trond Myklebust

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=414F84C2.6000608@csua.berkeley.edu \
    --to=mgoodman@csua.berkeley.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trond.myklebust@fys.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox