Skip to contentSkip to conversation

Fix NFS3 krb5 clients on x86-64

PATCH In review Mark Goodman 2 participants 2 messages Sep 21, 2004

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

net/sunrpc/auth_gss/auth_gss.c 2004-09-20 18:14:10.808817624 -0700 renamed from net/sunrpc/auth_gss/auth_gss.c.orig 2004-09-20 18:13:55.040214816 -0700 +1 -1
@@ -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)))
#1 lore raw

På må , 20/09/2004 klokka 18:32, skreiv Mark Goodman:

Quoted 2 lines

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

Obviously correct. Thanks!

Cheers
Trond