From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
"Li Zhijian" <lizhijian@cn.fujitsu.com>,
"Juan Quintela" <quintela@redhat.com>
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 [thread overview]
Message-ID: <20210602175105.2522032-1-philmd@redhat.com> (raw)
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
next reply other threads:[~2021-06-02 17:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-02 17:51 Philippe Mathieu-Daudé [this message]
2021-06-02 17:51 ` [PATCH 1/2] migration/rdma: Fix cm event use after free Philippe Mathieu-Daudé
2021-06-02 17:51 ` [RFC PATCH 2/2] migration/rdma: Enable use of g_autoptr with struct rdma_cm_event Philippe Mathieu-Daudé
2021-06-03 1:34 ` lizhijian
2021-06-03 9:30 ` Philippe Mathieu-Daudé
2021-06-03 12:57 ` lizhijian
2021-06-03 17:51 ` Dr. David Alan Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210602175105.2522032-1-philmd@redhat.com \
--to=philmd@redhat.com \
--cc=dgilbert@redhat.com \
--cc=lizhijian@cn.fujitsu.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).