Skip to content

Commit 6be7afc

Browse files
committed
SUNRPC: Revert cc93ce9 ("svcrdma: Retain the page backing rq_res.head[0].iov_base")
Pre-requisite for releasing pages in the send completion handler. Reverted by hand: patch -R would not apply cleanly. Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
1 parent 58f5d89 commit 6be7afc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

net/sunrpc/xprtrdma/svc_rdma_sendto.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -975,11 +975,6 @@ int svc_rdma_sendto(struct svc_rqst *rqstp)
975975
ret = svc_rdma_send_reply_msg(rdma, sctxt, rctxt, rqstp);
976976
if (ret < 0)
977977
goto put_ctxt;
978-
979-
/* Prevent svc_xprt_release() from releasing the page backing
980-
* rq_res.head[0].iov_base. It's no longer being accessed by
981-
* the I/O device. */
982-
rqstp->rq_respages++;
983978
return 0;
984979

985980
reply_chunk:

0 commit comments

Comments
 (0)