diff options
| author | Frank Cusack <fcusack@fcusack.com> | 2003-07-16 20:28:03 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-07-16 20:28:03 -0700 |
| commit | 5503fda166741fc8ea5f43b295e091f24cd01319 (patch) | |
| tree | 8257d6f5ee4db1dad2b9dd807a14ab0decc22fb7 | |
| parent | a52ccf0070cf8bd6b05beedfd777da7f21248f78 (diff) | |
[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.
| -rw-r--r-- | net/sunrpc/auth_gss/auth_gss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c index 7c9f9d7c2dae..dc742cc61aca 100644 --- a/net/sunrpc/auth_gss/auth_gss.c +++ b/net/sunrpc/auth_gss/auth_gss.c @@ -235,7 +235,7 @@ gss_parse_init_downcall(struct gss_api_mech *gm, struct xdr_netobj *buf, goto err; } 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); atomic_set(&ctx->count,1); |
