Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mlx5: invalidate cq->cur_rsc when QP is destroyed inside a polling batch
For CQ created in single threaded mode serving multiple QPs, if the user destroys a QP between ibv_start_poll() and ibv_end_poll(), then cq->cur_rsc should be invalidated since it may point to the QP that is being destroyed, which may cause UAF error in the next ibv_next_poll() call. Signed-off-by: ZHOU Huaping <zhouhuaping.san@bytedance.com>
- Loading branch information