Skip to content

RFC migration/rdma: Enable use of g_autoptr with struct rdma_cm_event

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2migration/rdma: Fix cm event use after freemigration/rdma.c+4 -20 replies
2/2migration/rdma: Enable use of g_autoptr with struct rdma_cm_eventmigration/rdma.c+10 -174 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchLi ZhijianDr. David Alan Gilbert
1/2R-b
2/2Inspired-by T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.26.3