Whamcloud - gitweb
LU-9672 gss: fix expiration time of sunrpc cache 67/27667/9
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 2 Oct 2017 20:00:52 +0000 (16:00 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 16 Oct 2017 03:22:38 +0000 (03:22 +0000)
commitf35425801545e0b47279597983cfbd02e837c45f
tree35b06acf303ff71f639dbb419bb55f21ce95663c
parent481bd7754dea4cfbea75690e3a852a07cd72e5d4
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().

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