diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-11-20 19:13:31 +0300 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-11-22 21:22:39 +0300 |
commit | 5fc43978a79e8021c189660ab63249fd29c5fb32 (patch) | |
tree | cac3a18f6bc6c5b91e5c2592c2d7b0ad459db50e /net/appletalk | |
parent | 3561d43fd289f590fdae672e5eb831b8d5cf0bf6 (diff) | |
download | linux-5fc43978a79e8021c189660ab63249fd29c5fb32.tar.xz |
SUNRPC: Fix an infinite loop in call_refresh/call_refreshresult
If the rpcauth_refreshcred() call returns an error other than
EACCES, ENOMEM or ETIMEDOUT, we currently end up looping forever
between call_refresh and call_refreshresult.
The correct thing to do here is to exit on all errors except
EAGAIN and ETIMEDOUT, for which case we retry 3 times, then
return EACCES.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/appletalk')
0 files changed, 0 insertions, 0 deletions