diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-09-12 00:00:47 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-10-09 23:16:56 +0200 |
commit | 906462af4c707ba0238f3579fdb2b594c4ea29c3 (patch) | |
tree | f3c15855aaef2353700f1bc91c56108c50ca4150 /net/ieee80211/ieee80211_crypt_tkip.c | |
parent | SUNRPC: Add a new error code for retry waiting for another binder (diff) | |
download | linux-906462af4c707ba0238f3579fdb2b594c4ea29c3.tar.xz linux-906462af4c707ba0238f3579fdb2b594c4ea29c3.zip |
SUNRPC: Split another new rpcbind retry error code from EACCES
Add more new error code processing to the kernel's rpcbind client
and to call_bind_status() to distinguish two cases:
Case 1: the remote has replied that the program/version tuple is not
registered (returns EACCES)
Case 2: retry with a lesser rpcbind version (rpcb now returns EPFNOSUPPORT)
This change allows more specific error processing for each of these two
cases. We now fail case 2 instead of retrying... it's a server
configuration error not to support even rpcbind version 2. And don't
expose this new error code to user land -- convert it to EIO before
failing the RPC.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/ieee80211/ieee80211_crypt_tkip.c')
0 files changed, 0 insertions, 0 deletions