Skip to content

Commit 68fb228

Browse files
gregkhsmb49
authored andcommitted
Revert "xprtrdma: Fix regbuf data not freed in rpcrdma_req_create()"
BugLink: https://bugs.launchpad.net/bugs/2011226 This reverts commit bcebcb11fcbc744de1add88601c51cca8b4e762c which is commit 9181f40 upstream. The backport to 5.4.y causes problems, as reported by Harshit, so revert it for now and wait for a working backport to be added. Reported-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> Link: https://lore.kernel.org/r/4d2928e1-c836-b817-3dc2-3fe9adcaf2d6@oracle.com Cc: Zhang Xiaoxu <zhangxiaoxu5@huawei.com> Cc: Trond Myklebust <trond.myklebust@hammerspace.com> Cc: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Luke Nowakowski-Krijger <luke.nowakowskikrijger@canonical.com> Acked-by: Kamal Mostafa <kamal@canonical.com> Signed-off-by: Kamal Mostafa <kamal@canonical.com>
1 parent 5d18287 commit 68fb228

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

net/sunrpc/xprtrdma/verbs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,6 @@ struct rpcrdma_req *rpcrdma_req_create(struct rpcrdma_xprt *r_xprt, size_t size,
10371037
kfree(req->rl_sendbuf);
10381038
out3:
10391039
kfree(req->rl_rdmabuf);
1040-
rpcrdma_regbuf_free(req->rl_sendbuf);
10411040
out2:
10421041
kfree(req);
10431042
out1:

0 commit comments

Comments
 (0)