qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC PATCH 0/2] migration/rdma: Enable use of g_autoptr with struct rdma


From: Philippe Mathieu-Daudé
Subject: [RFC PATCH 0/2] migration/rdma: Enable use of g_autoptr with struct rdma_cm_event
Date: Wed, 2 Jun 2021 19:51:02 +0200

Use g_autoptr to free rdma_cm_event to avoid missing to use
the not so obvious rdma_ack_cm_event() instead:
https://lists.gnu.org/archive/html/qemu-devel/2021-06/msg00511.html

Li Zhijian (1):
  migration/rdma: Fix cm event use after free

Philippe Mathieu-Daudé (1):
  migration/rdma: Enable use of g_autoptr with struct rdma_cm_event

 migration/rdma.c | 33 ++++++++++++++-------------------
 1 file changed, 14 insertions(+), 19 deletions(-)

-- 
2.26.3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]