diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-04-17 23:03:58 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-04-19 22:55:19 +0200 |
commit | cd019f7517206a74d8cdb64d5c82b1f76be608cc (patch) | |
tree | ac5e563e23a26519ac5b48f0c2a46cc0f8a3c7cf /net/rfkill | |
parent | SUNRPC: Fix a race in gss_refresh_upcall() (diff) | |
download | linux-cd019f7517206a74d8cdb64d5c82b1f76be608cc.tar.xz linux-cd019f7517206a74d8cdb64d5c82b1f76be608cc.zip |
SUNRPC: Don't change the RPCSEC_GSS context on a credential that is in use
When a server rejects our credential with an AUTH_REJECTEDCRED or similar,
we need to refresh the credential and then retry the request.
However, we do want to allow any requests that are in flight to finish
executing, so that we can at least attempt to process the replies that
depend on this instance of the credential.
The solution is to ensure that gss_refresh() looks up an entirely new
RPCSEC_GSS credential instead of attempting to create a context for the
existing invalid credential.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/rfkill')
0 files changed, 0 insertions, 0 deletions