linux-sg2042/include/linux/sunrpc
Trond Myklebust 006abe887c SUNRPC: Fix a race in rpc_info_open
There is a race between rpc_info_open and rpc_release_client()
in that nothing stops a process from opening the file after
the clnt->cl_kref goes to zero.

Fix this by using atomic_inc_unless_zero()...

Reported-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
2010-09-12 19:55:25 -04:00
..
Kbuild include: replace unifdef-y with header-y 2010-08-14 22:26:51 +02:00
auth.h SUNRPC: Move the bound cred to struct rpc_rqst 2010-08-04 08:54:09 -04:00
auth_gss.h SUNRPC: Don't spam gssd with upcall requests when the kerberos key expired 2010-05-14 15:09:37 -04:00
bc_xprt.h SUNRPC: Fix a use after free bug with the NFSv4.1 backchannel 2010-03-22 05:32:44 -04:00
cache.h sunrpc: make the cache cleaner workqueue deferrable 2010-07-06 12:27:48 -04:00
clnt.h SUNRPC: Fix a race in rpc_info_open 2010-09-12 19:55:25 -04:00
debug.h sunrpc: Clean never used include files 2009-12-14 18:12:08 -05:00
gss_api.h NFS: Don't use GFP_KERNEL in rpcsec_gss downcalls 2010-05-14 15:09:33 -04:00
gss_asn1.h
gss_err.h
gss_krb5.h NFS: Don't use GFP_KERNEL in rpcsec_gss downcalls 2010-05-14 15:09:33 -04:00
gss_spkm3.h
metrics.h SUNRPC: Replace jiffies-based metrics with ktime-based metrics 2010-05-14 15:09:33 -04:00
msg_prot.h SUNRPC: Clean up RPCBIND_MAXUADDRLEN definitions 2009-08-09 15:09:32 -04:00
rpc_pipe_fs.h nfs: fix compile error in rpc_pipefs.h 2009-08-20 18:20:25 -04:00
rpc_rdma.h sunrpc: Clean never used include files 2009-12-14 18:12:08 -05:00
sched.h SUNRPC: Ensure that rpc_exit() always wakes up a sleeping task 2010-08-04 08:54:07 -04:00
stats.h
svc.h nfsd: remove unused field rq_reffh 2009-12-15 15:01:46 -05:00
svc_rdma.h
svc_xprt.h nfsd41: sunrpc: Added rpc server-side backchannel handling 2009-09-11 15:04:16 -04:00
svcauth.h
svcauth_gss.h
svcsock.h nfsd41: sunrpc: Added rpc server-side backchannel handling 2009-09-11 15:04:16 -04:00
timer.h
types.h
xdr.h SUNRPC: Trivial cleanups in include/linux/sunrpc/xdr.h 2010-05-14 15:09:31 -04:00
xprt.h SUNRPC: Move the bound cred to struct rpc_rqst 2010-08-04 08:54:09 -04:00
xprtrdma.h nfsd41: sunrpc: add new xprt class for nfsv4.1 backchannel 2009-09-13 15:46:15 -04:00
xprtsock.h nfsd41: sunrpc: add new xprt class for nfsv4.1 backchannel 2009-09-13 15:46:15 -04:00