All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eugenio Pérez" <eperezma@redhat.com>
To: qemu-devel@nongnu.org
Cc: Laurent Vivier <lvivier@redhat.com>,
	Peter Maydell <peter.maydell@linaro.org>,
	qemu-trivial@nongnu.org, Jason Wang <jasowang@redhat.com>,
	"Michael S . Tsirkin" <mst@redhat.com>
Subject: [PATCH 0/2] vdpa: Merge all net_init_vhost_vdpa error goto
Date: Tue,  2 Aug 2022 13:24:45 +0200	[thread overview]
Message-ID: <20220802112447.249436-1-eperezma@redhat.com> (raw)

Few steps allocate new resources, and all of the allocated can be
checked to avoid trying to free an invalid one.

This series includes an already posted patch [1], because it must be applied
on top of that.

[1] https://lists.nongnu.org/archive/html/qemu-devel/2022-08/msg00089.html

Eugenio Pérez (2):
  vdpa: Fix file descriptor leak on get features error
  vdpa: Merge all net_init_vhost_vdpa error goto

 net/vhost-vdpa.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

-- 
2.31.1




             reply	other threads:[~2022-08-02 11:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-02 11:24 Eugenio Pérez [this message]
2022-08-02 11:24 ` [PATCH 1/2] vdpa: Fix file descriptor leak on get features error Eugenio Pérez
2022-08-02 12:07   ` Laurent Vivier
2022-08-02 12:56     ` Michael S. Tsirkin
2022-08-04 11:46   ` Laurent Vivier
2022-08-02 11:24 ` [PATCH 2/2] vdpa: Merge all net_init_vhost_vdpa error goto Eugenio Pérez
2022-08-02 12:10   ` Laurent Vivier
2022-08-02 12:57     ` Michael S. Tsirkin
2022-08-02 12:58       ` Laurent Vivier
2022-08-02 13:09         ` Michael S. Tsirkin
2022-08-02 13:16           ` Eugenio Perez Martin

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=20220802112447.249436-1-eperezma@redhat.com \
    --to=eperezma@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=lvivier@redhat.com \
    --cc=mst@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.