Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 268d595d authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Revert "xprtrdma: Fix regbuf data not freed in rpcrdma_req_create()"



This reverts commit bcebcb11 which is
commit 9181f40fb2952fd59ecb75e7158620c9c669eee3 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: default avatarHarshit 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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6c24a202
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1037,7 +1037,6 @@ struct rpcrdma_req *rpcrdma_req_create(struct rpcrdma_xprt *r_xprt, size_t size,
	kfree(req->rl_sendbuf);
out3:
	kfree(req->rl_rdmabuf);
	rpcrdma_regbuf_free(req->rl_sendbuf);
out2:
	kfree(req);
out1: