summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-02-18 20:22:03 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-02-18 20:22:03 -0500
commitd07fbb8fdf57c4af28679ad7c4b2542e78ca7218 (patch)
tree4d7beb423f33f30122a88797510de57559230e24 /net
parent437b300c6b28040ad87e4caf042e05f2c5f13c6d (diff)
parent9f74660bcf1e4cca577be99e54bc77b5df62b508 (diff)
downloadtalos-op-linux-d07fbb8fdf57c4af28679ad7c4b2542e78ca7218.tar.gz
talos-op-linux-d07fbb8fdf57c4af28679ad7c4b2542e78ca7218.zip
Merge tag 'nfs-rdma-4.5-1' of git://git.linux-nfs.org/projects/anna/nfs-rdma
NFS: NFSoRDMA Client Bugfix This patch fixes a bug where NFS v4.1 callbacks were returning RPC_GARBAGE_ARGS to the server. Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/xprtrdma/backchannel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/xprtrdma/backchannel.c b/net/sunrpc/xprtrdma/backchannel.c
index cc1251d07297..2dcd7640eeb5 100644
--- a/net/sunrpc/xprtrdma/backchannel.c
+++ b/net/sunrpc/xprtrdma/backchannel.c
@@ -341,6 +341,8 @@ void rpcrdma_bc_receive_call(struct rpcrdma_xprt *r_xprt,
rqst->rq_reply_bytes_recvd = 0;
rqst->rq_bytes_sent = 0;
rqst->rq_xid = headerp->rm_xid;
+
+ rqst->rq_private_buf.len = size;
set_bit(RPC_BC_PA_IN_USE, &rqst->rq_bc_pa_state);
buf = &rqst->rq_rcv_buf;
OpenPOWER on IntegriCloud