diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-02-10 16:28:52 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-02-10 16:49:17 -0500 |
commit | a699d65ec4ff82245d2c4fdfb8ed1d64776d756e (patch) | |
tree | 68a22b3495879ee3b12816fdebf15806026619ab /fs/cachefiles/bind.c | |
parent | fd1defc257e2b12ab69bc0b379105c00eca4e112 (diff) |
SUNRPC: Don't create a gss auth cache unless rpc.gssd is running
An infinite loop is caused when nfs4_establish_lease() fails
with -EACCES. This causes nfs4_handle_reclaim_lease_error()
to sleep a bit and resets the NFS4CLNT_LEASE_EXPIRED bit.
This in turn causes nfs4_state_manager() to try and
reestablished the lease, again, again, again...
The problem is a valid RPCSEC_GSS client is being created when
rpc.gssd is not running.
Link: http://lkml.kernel.org/r/1392066375-16502-1-git-send-email-steved@redhat.com
Fixes: 0ea9de0ea6a4 (sunrpc: turn warn_gssd() log message into a dprintk())
Reported-by: Steve Dickson <steved@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/cachefiles/bind.c')
0 files changed, 0 insertions, 0 deletions