]> www.infradead.org Git - users/jedix/linux-maple.git/commit
SUNRPC: Fix a backchannel race
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 26 Aug 2015 20:16:29 +0000 (14:16 -0600)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 31 Aug 2015 20:46:01 +0000 (14:46 -0600)
commit84dc1a056c8493f917db9644996b167f695c1720
tree14cfa7267170304d2c6e58ba9b2e71a6a4a63353
parent93b1c0dd38c9bcd3eb013f2c26f235a02336044e
SUNRPC: Fix a backchannel race

[ Upstream commit 0d2a970d0ae55086520e1e58e572a7acd519429c ]

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