summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/fs/nfs/nfs_auth.c
diff options
context:
space:
mode:
authorjwadams <none@none>2008-07-01 17:10:40 -0700
committerjwadams <none@none>2008-07-01 17:10:40 -0700
commit323a81d93e2f58a7d62f6e523f9fddbc029d3d0b (patch)
tree05278ac89bf847e0ebc2b8342b707b38288965d7 /usr/src/uts/common/fs/nfs/nfs_auth.c
parentabee70765269bb6f7b71715f1912fa7450b72ec3 (diff)
downloadillumos-joyent-323a81d93e2f58a7d62f6e523f9fddbc029d3d0b.tar.gz
PSARC 2008/208 Flexible Credentials and Result Limits for Kernel Door Upcalls
6687107 upcall clients should properly handle results
Diffstat (limited to 'usr/src/uts/common/fs/nfs/nfs_auth.c')
-rw-r--r--usr/src/uts/common/fs/nfs/nfs_auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/fs/nfs/nfs_auth.c b/usr/src/uts/common/fs/nfs/nfs_auth.c
index 46157945f8..f34b4c15bc 100644
--- a/usr/src/uts/common/fs/nfs/nfs_auth.c
+++ b/usr/src/uts/common/fs/nfs/nfs_auth.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -341,7 +341,7 @@ retry:
da.rbuf = (char *)rbuf;
da.rsize = rbsz;
- switch (door_ki_upcall(dh, &da)) {
+ switch (door_ki_upcall_limited(dh, &da, NULL, SIZE_MAX, 0)) {
case 0: /* Success */
if (da.data_ptr != da.rbuf && da.data_size == 0) {
/*