mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
Revert "xprtrdma: Fix regbuf data not freed in rpcrdma_req_create()"
This reverts commitbcebcb11fcwhich is commit9181f40fb2upstream. 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>
This commit is contained in:
@@ -1037,7 +1037,6 @@ out4:
|
||||
kfree(req->rl_sendbuf);
|
||||
out3:
|
||||
kfree(req->rl_rdmabuf);
|
||||
rpcrdma_regbuf_free(req->rl_sendbuf);
|
||||
out2:
|
||||
kfree(req);
|
||||
out1:
|
||||
|
||||
Reference in New Issue
Block a user