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

Philippe Mathieu-Daudé posted 2 patches 2 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/next-importer-push tags/patchew/20210602175105.2522032-1-philmd@redhat.com
migration/rdma.c | 33 ++++++++++++++-------------------
1 file changed, 14 insertions(+), 19 deletions(-)
[RFC PATCH 0/2] migration/rdma: Enable use of g_autoptr with struct rdma_cm_event
Posted by Philippe Mathieu-Daudé 2 years, 10 months ago
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