summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/fs/sockfs/nl7chttp.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/fs/sockfs/nl7chttp.c')
-rw-r--r--usr/src/uts/common/fs/sockfs/nl7chttp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/src/uts/common/fs/sockfs/nl7chttp.c b/usr/src/uts/common/fs/sockfs/nl7chttp.c
index 81dd8a99a5..8019295836 100644
--- a/usr/src/uts/common/fs/sockfs/nl7chttp.c
+++ b/usr/src/uts/common/fs/sockfs/nl7chttp.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -1797,10 +1797,11 @@ done:
goto pass;
}
/* Have a valid expire and date so calc an lbolt expire */
- uri->expire = lbolt + SEC_TO_TICK(http->expire - http->date);
+ uri->expire = ddi_get_lbolt() + SEC_TO_TICK(http->expire -
+ http->date);
} else if (nl7c_uri_ttl != -1) {
/* No valid expire speced and we have a TTL */
- uri->expire = lbolt + SEC_TO_TICK(nl7c_uri_ttl);
+ uri->expire = ddi_get_lbolt() + SEC_TO_TICK(nl7c_uri_ttl);
}
chunked: