mbox series

[0/2] vdpa: Merge all net_init_vhost_vdpa error goto

Message ID 20220802112447.249436-1-eperezma@redhat.com (mailing list archive)
Headers show
Series vdpa: Merge all net_init_vhost_vdpa error goto | expand

Message

Eugenio Perez Martin Aug. 2, 2022, 11:24 a.m. UTC
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(-)