WSL2-Linux-Kernel/net/sunrpc
Trond Myklebust 1afeaf5c29 sunrpc: fix loss of task->tk_status after rpc_delay call in xprt_alloc_slot
xprt_alloc_slot will call rpc_delay() to make the task wait a bit before
retrying when it gets back an -ENOMEM error from xprt_dynamic_alloc_slot.
The problem is that rpc_delay will clear the task->tk_status, causing
call_reserveresult to abort the task.

The solution is simply to let call_reserveresult handle the ENOMEM error
directly.

Reported-by: Jeff Layton <jlayton@redhat.com>
Cc: stable@vger.kernel.org [>= 3.1]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2012-05-19 12:12:53 -04:00
..
auth_gss auth_gss: the list of pseudoflavors not being parsed correctly 2012-05-03 12:35:33 -04:00
xprtrdma Merge branch 'for-3.4' of git://linux-nfs.org/~bfields/linux 2012-03-29 14:53:25 -07:00
Kconfig
Makefile
addr.c
auth.c
auth_generic.c
auth_null.c
auth_unix.c
backchannel_rqst.c
bc_svc.c
cache.c Merge nfs containerization work from Trond's tree 2012-03-26 11:48:54 -04:00
clnt.c sunrpc: fix loss of task->tk_status after rpc_delay call in xprt_alloc_slot 2012-05-19 12:12:53 -04:00
netns.h
rpc_pipe.c sunrpc: fix kernel-doc warnings 2012-05-14 17:44:25 -07:00
rpcb_clnt.c sunrpc: fix kernel-doc warnings 2012-05-14 17:44:25 -07:00
sched.c
socklib.c
stats.c
sunrpc.h
sunrpc_syms.c SUNRPC: register PipeFS file system after pernet sybsystem 2012-04-18 11:05:48 -04:00
svc.c
svc_xprt.c
svcauth.c
svcauth_unix.c Merge nfs containerization work from Trond's tree 2012-03-26 11:48:54 -04:00
svcsock.c Merge nfs containerization work from Trond's tree 2012-03-26 11:48:54 -04:00
sysctl.c
timer.c
xdr.c
xprt.c sunrpc: fix loss of task->tk_status after rpc_delay call in xprt_alloc_slot 2012-05-19 12:12:53 -04:00
xprtsock.c sunrpc: skip portmap calls on sessions backchannel 2012-03-26 11:49:48 -04:00