From: Trond Myklebust Date: Tue, 28 Oct 2008 19:21:42 +0000 (-0400) Subject: SUNRPC: Fix potential race in put_rpccred() X-Git-Tag: v2.6.28-rc3~38^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f707eb429e2c98dfd564ffbbd9f536bf493d869;p=pandora-kernel.git 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 --- Reading git-diff-tree failed