android_kernel_google_msm/net/sunrpc
Trond Myklebust d4d811d55f SUNRPC: Prevent an rpc_task wakeup race
commit a3c3cac5d3 upstream.

The lockless RPC_IS_QUEUED() test in __rpc_execute means that we need to
be careful about ordering the calls to rpc_test_and_set_running(task) and
rpc_clear_queued(task). If we get the order wrong, then we may end up
testing the RPC_TASK_RUNNING flag after __rpc_execute() has looped
and changed the state of the rpc_task.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Weng Meiling <wengmeiling.weng@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-11 16:10:08 -07:00
..
auth_gss
xprtrdma
addr.c
auth.c
auth_generic.c
auth_null.c
auth_unix.c
backchannel_rqst.c
bc_svc.c
cache.c
clnt.c sunrpc: Fix infinite loop in RPC state machine 2014-02-13 11:51:13 -08:00
Kconfig
Makefile
netns.h
rpc_pipe.c SUNRPC: Fix validity issues with rpc_pipefs sb->s_fs_info 2013-01-17 08:50:50 -08:00
rpcb_clnt.c
sched.c SUNRPC: Prevent an rpc_task wakeup race 2014-03-11 16:10:08 -07:00
socklib.c
stats.c
sunrpc.h
sunrpc_syms.c
svc.c
svc_xprt.c svcrpc: make svc_age_temp_xprts enqueue under sv_lock 2013-03-04 06:06:43 +08:00
svcauth.c
svcauth_unix.c
svcsock.c
sysctl.c
timer.c
xdr.c SUNRPC: Fix memory corruption issue on 32-bit highmem systems 2013-09-07 21:58:15 -07:00
xprt.c SUNRPC: Don't start the retransmission timer when out of socket space 2013-03-14 11:29:42 -07:00
xprtsock.c SUNRPC: Fix races in xs_nospace() 2014-03-11 16:10:00 -07:00