SUNRPC: Move upcall out of auth->au_ops->crcreate()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Feb 2006 17:19:27 +0000 (12:19 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Feb 2006 17:52:25 +0000 (12:52 -0500)
commitfba3bad488a2eec2d76c067edb7a5ff92ef42431
treea7cee933e9089e5c187008b396ee7bcbdb57ff80
parentadb12f63e0f837078c6832fa2c90649ddeaab54f
SUNRPC: Move upcall out of auth->au_ops->crcreate()

 This fixes a bug whereby if two processes try to look up the same auth_gss
 credential, they may end up creating two creds, and triggering two upcalls
 because the upcall is performed before the credential is added to the
 credcache.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/auth.h
net/sunrpc/auth.c
net/sunrpc/auth_gss/auth_gss.c