aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-10-28 15:21:42 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-10-28 15:21:42 -0400
commit5f707eb429e2c98dfd564ffbbd9f536bf493d869 (patch)
tree5b17c3f51daa9a47959cdf320696a56c72faa70d /include/linux/pci.h
parentSUNRPC: Fix rpcauth_prune_expired (diff)
downloadlinux-dev-5f707eb429e2c98dfd564ffbbd9f536bf493d869.tar.xz
linux-dev-5f707eb429e2c98dfd564ffbbd9f536bf493d869.zip
SUNRPC: Fix potential race in put_rpccred()
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>
Diffstat (limited to 'include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions