summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorMarcel Telka <marcel.telka@nexenta.com>2015-09-22 01:58:42 +0200
committerDan McDonald <danmcd@omniti.com>2015-09-22 09:49:38 -0400
commit09818e88dd7907e7eccd0caf8973ebfa6806b5f1 (patch)
tree1a622c7b193f4cffebaa3bc0e2990b0687d2c442 /usr/src
parent25613c1d425cf3953d010bbbe294d40990b5f45e (diff)
downloadillumos-gate-09818e88dd7907e7eccd0caf8973ebfa6806b5f1.tar.gz
6257 First nfsauth_retrieve() is never cached in nfsauth_cache_get()
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Arne Jansen <sensille@gmx.net> Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/fs/nfs/nfs_auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/fs/nfs/nfs_auth.c b/usr/src/uts/common/fs/nfs/nfs_auth.c
index c9b432ea6e..7bbbab8880 100644
--- a/usr/src/uts/common/fs/nfs/nfs_auth.c
+++ b/usr/src/uts/common/fs/nfs/nfs_auth.c
@@ -1021,13 +1021,14 @@ wait:
* data.
*/
if (p->auth_clnt_ngids != 0 &&
- p->auth_clnt_gids == NULL)
+ p->auth_clnt_gids == NULL) {
p->auth_clnt_ngids = 0;
mutex_exit(&p->auth_lock);
p = NULL;
goto retrieve;
+ }
}
/*