SUNRPC: Fix a race in gss_refresh_upcall()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 17 Apr 2008 20:53:01 +0000 (16:53 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 19 Apr 2008 20:55:15 +0000 (16:55 -0400)
commit7b6962b0a6000df48c8a5fd967d262f77704101b
tree8902c9232242ac48c49f3e7a4ff0a94045974726
parent7c1d71cf56feebfb5b98219b9d11dfc3a2feca62
SUNRPC: Fix a race in gss_refresh_upcall()

If the downcall completes before we get the spin_lock then we currently
fail to refresh the credential.

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