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

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
..
Kconfig
Makefile
chan.h
chan_kern.c
chan_user.c
chan_user.h
cow.h
cow_sys.h
cow_user.c
daemon.h
daemon_kern.c
daemon_user.c
fd.c
harddog_kern.c
harddog_user.c
hostaudio_kern.c
line.c
line.h
mconsole.h
mconsole_kern.c
mconsole_kern.h
mconsole_user.c
mmapper_kern.c
net_kern.c
net_user.c
null.c
pcap_kern.c
pcap_user.c
pcap_user.h
port.h
port_kern.c
port_user.c
pty.c
random.c
slip.h
slip_common.c
slip_common.h
slip_kern.c
slip_user.c
slirp.h
slirp_kern.c
slirp_user.c
ssl.c
stderr_console.c
stdio_console.c
stdio_console.h
tty.c
ubd.h
ubd_kern.c um: ubd: Submit all data segments atomically 2021-01-06 14:48:40 +01:00
ubd_user.c
umcast.h
umcast_kern.c
umcast_user.c
vde.h
vde_kern.c
vde_user.c
vector_kern.c
vector_kern.h
vector_transports.c
vector_user.c
vector_user.h
vhost_user.h
virtio_uml.c um: virtio: free vu_dev only with the contained struct device 2021-02-10 09:25:27 +01:00
xterm.c
xterm.h
xterm_kern.c