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

pyverbs: Memset the memory after posix_memalign #783

Merged
merged 1 commit into from Jul 20, 2020

Conversation

EdwardSro
Copy link
Contributor

Initialize the allocated memory with zeros in posix_memalign pyverbs
wrapper. Otherwise, the parent domain allocators that were using
posix_memalign were not fulfilling the requirement of the parent
domain callbacks (allocated buffers must be initialized with zeros).

Initialize the allocated memory with zeros in posix_memalign pyverbs
wrapper. Otherwise, the parent domain allocators that were using
posix_memalign were not fulfilling the requirement of the parent
domain callbacks (allocated buffers must be initialized with zeros).

Fixes: 4fec673 ("tests: Add a test for parent domain")
Signed-off-by: Edward Srouji <edwards@mellanox.com>
@rleon rleon merged commit 1faf9b8 into linux-rdma:master Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants