summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-02-19 02:22:03 +0100
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-02-19 02:22:03 +0100
commitd07fbb8fdf57c4af28679ad7c4b2542e78ca7218 (patch)
tree4d7beb423f33f30122a88797510de57559230e24 /net
parentauth_gss: fix panic in gss_pipe_downcall() in fips mode (diff)
parentxprtrdma: rpcrdma_bc_receive_call() should init rq_private_buf.len (diff)
downloadlinux-d07fbb8fdf57c4af28679ad7c4b2542e78ca7218.tar.xz
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;