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

[v1.22.x] prov/efa: Fix the read_bad_recv_status unit test #10562

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

shijin-aws
Copy link
Contributor

backport #10556

When device supports unsolicited write, efadv_wc_is_unsolicited is called in the error
path of IBV_WC_RECV as well, but we failed to setup its mock
in the unit test, it will cause a segfault inside the rdma-core
function when we don't really have a cqe, which is what the current unit test does.

This patch fixes this bug.

Signed-off-by: Shi Jin <[email protected]>
(cherry picked from commit 628dfa7)
@shijin-aws shijin-aws requested a review from a team November 20, 2024 06:45
@shijin-aws shijin-aws merged commit d701175 into ofiwg:v1.22.x Nov 20, 2024
9 checks passed
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

Successfully merging this pull request may close these issues.

2 participants