Whamcloud - gitweb
LU-9672 gss: fix expiration time of sunrpc cache 24/29624/2
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 2 Oct 2017 20:00:52 +0000 (16:00 -0400)
committerJohn L. Hammond <john.hammond@intel.com>
Wed, 25 Oct 2017 21:53:23 +0000 (21:53 +0000)
commit7a1cb859d83891c2d7d1a50891cede6bcb1a1106
tree17659a48a8ba0e1d67339e26d4a3ae7cdee965b4
parentc59e2e9e700654e0d2e028e041a47d4337cb98fb
LU-9672 gss: fix expiration time of sunrpc cache

Expiration time of sunrpc cache is misinterpreted. Downcal
and response from user space must provide an epoch time,
not a duration.
And on kernel side, expiry must always be expressed in seconds
from boot, as set when retrieved from get_expiry().

Lustre-change: https://review.whamcloud.com/27667
Lustre-commit: f35425801545e0b47279597983cfbd02e837c45f

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I35c58a040a62410374dee0be3ae5bed7956cd985
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/29624
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/ptlrpc/gss/gss_svc_upcall.c
lustre/utils/gss/svcgssd_proc.c