summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtsock.c
diff options
context:
space:
mode:
authorTrond Myklebust2014-02-10 22:28:52 +0100
committerTrond Myklebust2014-02-10 22:49:17 +0100
commita699d65ec4ff82245d2c4fdfb8ed1d64776d756e (patch)
tree68a22b3495879ee3b12816fdebf15806026619ab /net/sunrpc/xprtsock.c
parentNFS: Do not set NFS_INO_INVALID_LABEL unless server supports labeled NFS (diff)
downloadkernel-qcow2-linux-a699d65ec4ff82245d2c4fdfb8ed1d64776d756e.tar.gz
kernel-qcow2-linux-a699d65ec4ff82245d2c4fdfb8ed1d64776d756e.tar.xz
kernel-qcow2-linux-a699d65ec4ff82245d2c4fdfb8ed1d64776d756e.zip
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 'net/sunrpc/xprtsock.c')
0 files changed, 0 insertions, 0 deletions