diff options
-rw-r--r-- | fs/nfs/callback.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c index 15677e7bede5..753a9e315518 100644 --- a/fs/nfs/callback.c +++ b/fs/nfs/callback.c | |||
@@ -365,6 +365,9 @@ static int check_gss_callback_principal(struct nfs_client *clp, | |||
365 | struct rpc_clnt *r = clp->cl_rpcclient; | 365 | struct rpc_clnt *r = clp->cl_rpcclient; |
366 | char *p = svc_gss_principal(rqstp); | 366 | char *p = svc_gss_principal(rqstp); |
367 | 367 | ||
368 | /* No RPC_AUTH_GSS on NFSv4.1 back channel yet */ | ||
369 | if (clp->cl_minorversion != 0) | ||
370 | return SVC_DROP; | ||
368 | /* | 371 | /* |
369 | * It might just be a normal user principal, in which case | 372 | * It might just be a normal user principal, in which case |
370 | * userspace won't bother to tell us the name at all. | 373 | * userspace won't bother to tell us the name at all. |