Page MenuHomeFreeBSD

D43491.diff
No OneTemporary

D43491.diff

diff --git a/contrib/ofed/libibverbs/cmd.c b/contrib/ofed/libibverbs/cmd.c
--- a/contrib/ofed/libibverbs/cmd.c
+++ b/contrib/ofed/libibverbs/cmd.c
@@ -904,7 +904,7 @@
return 0;
}
-static int create_qp_handle_resp_common_cleanup(struct verbs_qp *qp)
+static void create_qp_handle_resp_common_cleanup(struct verbs_qp *qp)
{
pthread_cond_destroy(&qp->qp.cond);
pthread_mutex_destroy(&qp->qp.mutex);
diff --git a/contrib/ofed/libibverbs/device.c b/contrib/ofed/libibverbs/device.c
--- a/contrib/ofed/libibverbs/device.c
+++ b/contrib/ofed/libibverbs/device.c
@@ -456,7 +456,7 @@
void __ibv_cleanup_wq(struct ibv_wq *wq)
{
- pthread_cond_destroy(&wq->mutex);
+ pthread_cond_destroy(&wq->cond);
pthread_mutex_destroy(&wq->mutex);
}
default_symver(__ibv_cleanup_wq, ibv_cleanup_wq);

File Metadata

Mime Type
text/plain
Expires
Wed, Sep 25, 8:26 PM (22 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
12566347
Default Alt Text
D43491.diff (795 B)

Event Timeline