linux-stable/arch/um
Johannes Berg 7ad28e0df7 um: virtio_uml: fix memory leak on init failures
If initialization fails, e.g. because the connection failed,
we leak the 'vu_dev'. Fix that. Reported by smatch.

Fixes: 5d38f32499 ("um: drivers: Add virtio vhost-user driver")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2021-08-26 22:28:02 +02:00
..
configs kunit: Move default config from arch/um -> tools/testing/kunit 2021-06-23 17:49:17 -06:00
drivers um: virtio_uml: fix memory leak on init failures 2021-08-26 22:28:02 +02:00
include This pull request contains the following changes for UML: 2021-07-09 10:19:13 -07:00
kernel This pull request contains the following changes for UML: 2021-07-09 10:19:13 -07:00
os-Linux um: Fix stack pointer alignment 2021-06-17 22:08:31 +02:00
scripts License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kbuild kbuild: require all architectures to have arch/$(SRCARCH)/Kbuild 2021-05-26 23:10:37 +09:00
Kconfig um: Add support for host CPU flags and alignment 2021-06-17 22:01:26 +02:00
Kconfig.debug um: Disable CONFIG_GCOV with MODULES 2021-04-15 23:10:33 +02:00
Makefile um: allow not setting extra rpaths in the linux binary 2021-06-17 21:54:15 +02:00
Makefile-os-Linux
Makefile-skas