projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c36fca5
)
NFS RPC_AUTH_GSS unsupported on v4.1 back channel
author
Andy Adamson
<andros@netapp.com>
Thu, 6 Jan 2011 02:04:33 +0000
(
02:04
+0000)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 6 Jan 2011 19:46:24 +0000
(14:46 -0500)
Signed-off-by: Andy Adamson <andros@netapp.com>
Acked-by: Bruce Fields <bfields@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/callback.c
patch
|
blob
|
history
diff --git
a/fs/nfs/callback.c
b/fs/nfs/callback.c
index 15677e7bede5b8896fc468e9baa148ffb675fb66..753a9e315518312f7d2a35df8b0364ea29f6b507 100644
(file)
--- a/
fs/nfs/callback.c
+++ b/
fs/nfs/callback.c
@@
-365,6
+365,9
@@
static int check_gss_callback_principal(struct nfs_client *clp,
struct rpc_clnt *r = clp->cl_rpcclient;
char *p = svc_gss_principal(rqstp);
+ /* No RPC_AUTH_GSS on NFSv4.1 back channel yet */
+ if (clp->cl_minorversion != 0)
+ return SVC_DROP;
/*
* It might just be a normal user principal, in which case
* userspace won't bother to tell us the name at all.