qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] vdpa: Merge all net_init_vhost_vdpa error goto
@ 2022-08-02 11:24 Eugenio Pérez
  2022-08-02 11:24 ` [PATCH 1/2] vdpa: Fix file descriptor leak on get features error Eugenio Pérez
  2022-08-02 11:24 ` [PATCH 2/2] vdpa: Merge all net_init_vhost_vdpa error goto Eugenio Pérez
  0 siblings, 2 replies; 10+ messages in thread
From: Eugenio Pérez @ 2022-08-02 11:24 UTC (permalink / raw)
  To: qemu-devel
  Cc: Laurent Vivier, Peter Maydell, qemu-trivial, Jason Wang,
	Michael S . Tsirkin

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




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-08-02 13:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-02 11:24 [PATCH 0/2] vdpa: Merge all net_init_vhost_vdpa error goto Eugenio Pérez
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-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

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).