Skip to contentSkip to conversation

RDMA queue

GIT PULL Applied Marcel Apfelbaum 2 participants 3 messages May 2, 2020 – May 3, 2020

lore
Share & tools
lore
#1 lore raw

[Qemu-devel] [PULL 1/1] hw/rdma: Destroy list mutex when list is destroyed

In reply to Marcel Apfelbaum

From: Yuval Shaia <[email protected]>

List mutex should be destroyed when gs list gets destroyed.

Message-Id: <[email protected]>

---
 hw/rdma/rdma_utils.c | 1 +
 1 file changed, 1 insertion(+)
hw/rdma/rdma_utils.c +1 -0
index 73f279104c..698ed4716c 100644
@@ -100,6 +100,7 @@ void rdma_protected_gslist_destroy(RdmaProtectedGSList *list)
 {
     if (list->list) {
         g_slist_free(list->list);
+        qemu_mutex_destroy(&list->lock);
         list->list = NULL;
     }
 }
Signature · 1 line
2.17.2
#0 lore raw

The following changes since commit 1c47613588ccff44422d4bdeea0dc36a0a308ec7:

Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (2020-04-30 19:25:41 +0100)

are available in the Git repository at:

https://github.com/marcel-apf/qemu tags/rdma-pull-request

for you to fetch changes up to a5cde048e865da81fdc9077f3af28a43bff78d35:

hw/rdma: Destroy list mutex when list is destroyed (2020-05-02 21:31:17 +0300)

----------------------------------------------------------------
RDMA queue

* hw/rdma: Destroy list mutex when list is destroyed

----------------------------------------------------------------
Yuval Shaia (1):
hw/rdma: Destroy list mutex when list is destroyed

 hw/rdma/rdma_utils.c | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
2.17.2
#2 lore raw
Quoted 11 lines · Marcel Apfelbaum

The following changes since commit 1c47613588ccff44422d4bdeea0dc36a0a308ec7:

Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (2020-04-30 19:25:41 +0100)

are available in the Git repository at:

https://github.com/marcel-apf/qemu tags/rdma-pull-request

for you to fetch changes up to a5cde048e865da81fdc9077f3af28a43bff78d35:

Quoted 8 lines

hw/rdma: Destroy list mutex when list is destroyed (2020-05-02 21:31:17 +0300)

----------------------------------------------------------------
RDMA queue

* hw/rdma: Destroy list mutex when list is destroyed

----------------------------------------------------------------

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/5.1
for any user-visible changes.

-- PMM