SUNRPC set gss gc_expiry to full lifetime
authorAndy Adamson <andros@netapp.com>
Tue, 27 Nov 2012 15:34:20 +0000 (10:34 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 12 Dec 2012 20:35:59 +0000 (15:35 -0500)
commit620038f6d2304475dce800dc5c75fc335a19613a
tree8b506761978f52e80cda2877f4ae14aceabe69fc
parentbe7e985804c610fcdcee8730cf42718b8a4e1c41
SUNRPC set gss gc_expiry to full lifetime

Only use the default GSSD_MIN_TIMEOUT if the gss downcall timeout is zero.
Store the full lifetime in gc_expiry (not 3/4 of the lifetime) as subsequent
patches will use the gc_expiry to determine buffered WRITE behavior in the
face of expired or soon to be expired gss credentials.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/auth_gss/auth_gss.c