Commit 5503fda1 authored by Frank Cusack's avatar Frank Cusack Committed by Linus Torvalds

[PATCH] rpcsec_gss compatibility

start gss seq no at 1; netapp doesn't accept seq no 0.

Just as a data point, Solaris 9 client uses initial seq. no. 2.
parent a52ccf00
...@@ -235,7 +235,7 @@ gss_parse_init_downcall(struct gss_api_mech *gm, struct xdr_netobj *buf, ...@@ -235,7 +235,7 @@ gss_parse_init_downcall(struct gss_api_mech *gm, struct xdr_netobj *buf,
goto err; goto err;
} }
ctx->gc_proc = RPC_GSS_PROC_DATA; ctx->gc_proc = RPC_GSS_PROC_DATA;
ctx->gc_seq = 0; ctx->gc_seq = 1; /* NetApp 6.4R1 doesn't accept seq. no. 0 */
spin_lock_init(&ctx->gc_seq_lock); spin_lock_init(&ctx->gc_seq_lock);
atomic_set(&ctx->count,1); atomic_set(&ctx->count,1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment