summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/nfs
diff options
context:
space:
mode:
authorMarcel Telka <marcel.telka@nexenta.com>2016-03-23 01:30:16 +0100
committerRichard Lowe <richlowe@richlowe.net>2016-03-29 16:07:38 -0400
commit12fb3699cf98503685902fe0309c546343340e61 (patch)
tree4a0e6ef5b5c08db069aee6ac64b59028ddbc898a /usr/src/uts/common/nfs
parenta104dbc06eae69b60121e737d0ba974aac60dc6a (diff)
downloadillumos-joyent-12fb3699cf98503685902fe0309c546343340e61.tar.gz
6770 nfsauth_retrieve() flood caused by NFS clients with personal identity problems
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/uts/common/nfs')
-rw-r--r--usr/src/uts/common/nfs/export.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr/src/uts/common/nfs/export.h b/usr/src/uts/common/nfs/export.h
index 2ed9aa30d6..e0fc4d4c44 100644
--- a/usr/src/uts/common/nfs/export.h
+++ b/usr/src/uts/common/nfs/export.h
@@ -20,7 +20,7 @@
*/
/*
- * Copyright 2015 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2016 Nexenta Systems, Inc. All rights reserved.
* Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
*/
@@ -306,10 +306,7 @@ struct auth_cache {
avl_node_t auth_link;
struct auth_cache_clnt *auth_clnt;
int auth_flavor;
- uid_t auth_clnt_uid;
- gid_t auth_clnt_gid;
- uint_t auth_clnt_ngids;
- gid_t *auth_clnt_gids;
+ cred_t *auth_clnt_cred;
uid_t auth_srv_uid;
gid_t auth_srv_gid;
uint_t auth_srv_ngids;