-
Notifications
You must be signed in to change notification settings - Fork 700
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libhns: Bugfix for flush cqe in case multi-process
[ Upstream commit f1a80cc ] For the case one process modify qp to error while the other process is posting send or recv, the race of flush cqe will happen. To solve this problem, the lock of sq and rq should be hold in modify qp. Fixes: e1726e9 ("libhns: Support flush cqe for hip08 in user space") Signed-off-by: Yixian Liu <[email protected]> Signed-off-by: Nicolas Morey-Chaisemartin <[email protected]>
- Loading branch information
Showing
1 changed file
with
30 additions
and
24 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