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

Commits on Nov 20, 2024

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

    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 committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    3347ddf View commit details
    Browse the repository at this point in the history