linux-stable/arch/um
Johannes Berg 98650c3d0e um: virtio: free vu_dev only with the contained struct device
[ Upstream commit f4172b0843 ]

Since struct device is refcounted, we shouldn't free the vu_dev
immediately when it's removed from the platform device, but only
when the references actually all go away. Move the freeing to
the release to accomplish that.

Fixes: 5d38f32499 ("um: drivers: Add virtio vhost-user driver")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-02-10 09:25:27 +01:00
..
configs
drivers um: virtio: free vu_dev only with the contained struct device 2021-02-10 09:25:27 +01:00
include
kernel um: change sigio_spinlock to a mutex 2020-11-05 11:43:14 +01:00
os-Linux um: Remove use of asprinf in umid.c 2020-12-30 11:51:39 +01:00
scripts
.gitignore
Kconfig
Kconfig.debug
Makefile
Makefile-os-Linux
Makefile-skas