Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possible resource leak of ibv_comp_channel in rdma #2609

Open
hydrozhao opened this issue Apr 21, 2024 · 0 comments
Open

possible resource leak of ibv_comp_channel in rdma #2609

hydrozhao opened this issue Apr 21, 2024 · 0 comments

Comments

@hydrozhao
Copy link

hydrozhao commented Apr 21, 2024

我在阅读rdma部分代码时,在 GlobalRdmaInitializeOrDieImpl 函数中看到一行比较奇怪的代码。它在全局初始化的过程中调用了 IbvCreateCompChannel 来创建应该由 RdmaEndpoint 管理的资源,并且没有对创建的 ibv_comp_channel 进行销毁。

请问这行代码符合预期吗?如果符合预期,请问这一行的作用是什么呢?

代码位置

IbvCreateCompChannel(g_context);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant