SUNRPC: Fix a backchannel race
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 4 Jun 2015 19:37:10 +0000 (15:37 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 5 Jun 2015 15:15:43 +0000 (11:15 -0400)
We need to allow the server to send a new request immediately after we've
replied to the previous one. Right now, there is a window between the
send and the release of the old request in rpc_put_task(), where the
server could send us a new backchannel RPC call, and we have no
request to service it.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
include/linux/sunrpc/xprt.h
net/sunrpc/backchannel_rqst.c
net/sunrpc/svc.c

Simple merge
Simple merge
Simple merge