diff options
author | Trond Myklebust <[email protected]> | 2020-08-26 20:36:06 -0400 |
---|---|---|
committer | Trond Myklebust <[email protected]> | 2020-08-26 20:36:06 -0400 |
commit | ff96b7485dd5547a3a34b23a566ffb49fc2df33c (patch) | |
tree | b3c0f93863078281535f9822e2dcedd228d95bab | |
parent | d012a7190fc1fd72ed48911e77ca97ba4521bccd (diff) | |
parent | 5de55ce951a1466e31ff68a7bc6b0a7ce3cb5947 (diff) |
Merge tag 'nfs-rdma-for-5.9-1' of git://git.linux-nfs.org/projects/anna/linux-nfs
NFSoRDMA Client Bugfix for Linux 5.9
Bugfix:
- xprtrdma: Release in-flight MRs on disconnect
Signed-off-by: Trond Myklebust <[email protected]>
-rw-r--r-- | net/sunrpc/xprtrdma/verbs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/xprtrdma/verbs.c b/net/sunrpc/xprtrdma/verbs.c index 75c646743df3..ca89f24a1590 100644 --- a/net/sunrpc/xprtrdma/verbs.c +++ b/net/sunrpc/xprtrdma/verbs.c @@ -933,6 +933,8 @@ static void rpcrdma_req_reset(struct rpcrdma_req *req) rpcrdma_regbuf_dma_unmap(req->rl_sendbuf); rpcrdma_regbuf_dma_unmap(req->rl_recvbuf); + + frwr_reset(req); } /* ASSUMPTION: the rb_allreqs list is stable for the duration, |