-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v1.21.x] prov/efa: Use srx lock from domain directly
Currently, efa_rdm_cq_readfrom access srx_lock via util_domain->srx->peer_srx.ep_fid.fid.context. However, srx is destroyed during ep close and may not be accessible if a cq read is called after ep close. This patch fixes this issue by accessing the srx lock via efa_domain directly, as the lock is created by efa domain and cannot be destroyed before domain close. Same issue applies to efa cntr. Signed-off-by: Shi Jin <sjina@amazon.com> (cherry picked from commit 0bb72fd)
- Loading branch information
1 parent
fe6cde6
commit 9562dc5
Showing
3 changed files
with
17 additions
and
38 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
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