kernel-fxtec-pro1x/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
..
auth.h SUNRPC: Move the bound cred to struct rpc_rqst 2010-08-04 08:54:09 -04:00
auth_gss.h
bc_xprt.h
cache.h
clnt.h SUNRPC: Fix a race in rpc_info_open 2010-09-12 19:55:25 -04:00
debug.h
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5.h
gss_spkm3.h
Kbuild include: replace unifdef-y with header-y 2010-08-14 22:26:51 +02:00
metrics.h
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
svc_rdma.h
svc_xprt.h
svcauth.h
svcauth_gss.h
svcsock.h
timer.h
types.h
xdr.h
xprt.h SUNRPC: Move the bound cred to struct rpc_rqst 2010-08-04 08:54:09 -04:00
xprtrdma.h
xprtsock.h