diff options
| -rw-r--r-- | net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c b/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c index 21a1e625ef03..c016f5ca0ce5 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c +++ b/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | |||
| @@ -416,6 +416,7 @@ static int rdma_read_complete(struct svc_rqst *rqstp, | |||
| 416 | 416 | ||
| 417 | /* XXX: What should this be? */ | 417 | /* XXX: What should this be? */ |
| 418 | rqstp->rq_prot = IPPROTO_MAX; | 418 | rqstp->rq_prot = IPPROTO_MAX; |
| 419 | svc_xprt_copy_addrs(rqstp, rqstp->rq_xprt); | ||
| 419 | 420 | ||
| 420 | ret = rqstp->rq_arg.head[0].iov_len | 421 | ret = rqstp->rq_arg.head[0].iov_len |
| 421 | + rqstp->rq_arg.page_len | 422 | + rqstp->rq_arg.page_len |
