git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eac0d18
)
SUNRPC: Fix potential race in put_rpccred()
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 28 Oct 2008 19:21:42 +0000
(15:21 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 28 Oct 2008 19:21:42 +0000
(15:21 -0400)
We have to be careful when we try to unhash the credential in
put_rpccred(), because we're not holding the credcache lock, so the call to
rpcauth_unhash_cred() may fail if someone else has looked the cred up, and
obtained a reference to it.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
No differences found