forked from libfabric-test1/libfabric
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prov/efa: Add missing locks in efa_cntr_wait.
Currently, efa_cntr_wait call cntr->progress, which finally call efa_ep_progress_internal(). However, efa_ep_progress_internal() must be called inside the srx->lock. This patch fixes this issue. It also adds a check to handle the case where srx_ctx could be NULL; Signed-off-by: Shi Jin <[email protected]>
- Loading branch information
1 parent
2d9f5bd
commit 4ce0b99
Showing
2 changed files
with
51 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters