summaryrefslogtreecommitdiff
path: root/net/sunrpc/auth_gss/auth_gss.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-07-15 17:05:52 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-07-15 17:05:52 -0400
commite3406081c6ac154ed48fbb07e6bb8daacc48c7c8 (patch)
tree31ac04d7813866463fccf2ec9ec4dea9c88edc75 /net/sunrpc/auth_gss/auth_gss.c
parent92d21ac74a9e3c09b0b01c764e530657e4c85c49 (diff)
parenta4e187d83d88eeaba6252aac0a2ffe5eaa73a818 (diff)
downloadlinux-e3406081c6ac154ed48fbb07e6bb8daacc48c7c8.tar.gz
linux-e3406081c6ac154ed48fbb07e6bb8daacc48c7c8.tar.xz
Merge tag 'nfs-rdma-4.8-1' of git://git.linux-nfs.org/projects/anna/nfs-rdma
NFS: NFSoRDMA Client Side Changes New Features: - Add kerberos support Bugfixes and cleanups: - Remove ALLPHYSICAL memory registration mode - Fix FMR disconnect recovery - Reduce memory usage Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/auth_gss/auth_gss.c')
-rw-r--r--net/sunrpc/auth_gss/auth_gss.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c
index e64ae93d5b4f..bca3537efffd 100644
--- a/net/sunrpc/auth_gss/auth_gss.c
+++ b/net/sunrpc/auth_gss/auth_gss.c
@@ -1017,6 +1017,8 @@ gss_create_new(struct rpc_auth_create_args *args, struct rpc_clnt *clnt)
auth->au_rslack = GSS_VERF_SLACK >> 2;
auth->au_ops = &authgss_ops;
auth->au_flavor = flavor;
+ if (gss_pseudoflavor_to_datatouch(gss_auth->mech, flavor))
+ auth->au_flags |= RPCAUTH_AUTH_DATATOUCH;
atomic_set(&auth->au_count, 1);
kref_init(&gss_auth->kref);