dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/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
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
rpc_pipe_fs.h
rpc_rdma.h
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
svcauth.h
svcauth_gss.h
svcsock.h
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
xprtsock.h