linux/drivers/vdpa/ifcvf
Tanmay Bhushan 5d2cc32c1c vdpa: ifcvf: Do proper cleanup if IFCVF init fails
[ Upstream commit 6b04456e24 ]

ifcvf_mgmt_dev leaks memory if it is not freed before
returning. Call is made to correct return statement
so memory does not leak. ifcvf_init_hw does not take
care of this so it is needed to do it here.

Signed-off-by: Tanmay Bhushan <007047221b@gmail.com>
Message-Id: <772e9fe133f21fa78fb98a2ebe8969efbbd58e3c.camel@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Zhu Lingshan <lingshan.zhu@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2023-02-22 12:59:42 +01:00
..
ifcvf_base.c vdpa/ifcvf: fix the calculation of queuepair 2022-09-27 18:30:48 -04:00
ifcvf_base.h vDPA/ifcvf: get_config_size should return a value no greater than dev implementation 2022-08-11 04:26:08 -04:00
ifcvf_main.c vdpa: ifcvf: Do proper cleanup if IFCVF init fails 2023-02-22 12:59:42 +01:00
Makefile vdpa: move to drivers/vdpa 2020-04-02 10:41:40 -04:00