kernel_optimize_test/arch/um/drivers
Johannes Berg 72c8389fc7 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:29:12 +01:00
..
chan_kern.c
chan_user.c um: tty: Fix handling of close in tty lines 2020-12-30 11:53:52 +01:00
chan_user.h
chan.h
cow_sys.h
cow_user.c
cow.h
daemon_kern.c
daemon_user.c um: Some fixes to build UML with musl 2020-10-11 23:13:06 +02:00
daemon.h
fd.c
harddog_kern.c
harddog_user.c
hostaudio_kern.c
Kconfig um: Allow static linking for non-glibc implementations 2020-10-11 23:13:15 +02:00
line.c um: line, remove put_char 2020-06-24 16:53:37 +02:00
line.h um: line, remove put_char 2020-06-24 16:53:37 +02:00
Makefile um: Do not evaluate compiler's library path when cleaning 2020-06-02 22:37:41 +02:00
mconsole_kern.c kernel: rename show_stack_loglvl() => show_stack() 2020-06-09 09:39:13 -07:00
mconsole_kern.h
mconsole_user.c
mconsole.h
mmapper_kern.c
net_kern.c
net_user.c
null.c
pcap_kern.c
pcap_user.c um: Some fixes to build UML with musl 2020-10-11 23:13:06 +02:00
pcap_user.h
port_kern.c
port_user.c
port.h
pty.c
random.c um: random: Register random as hwrng-core device 2021-01-06 14:56:55 +01:00
slip_common.c
slip_common.h
slip_kern.c
slip_user.c um: Some fixes to build UML with musl 2020-10-11 23:13:06 +02:00
slip.h
slirp_kern.c
slirp_user.c
slirp.h
ssl.c um: line, remove put_char 2020-06-24 16:53:37 +02:00
stderr_console.c
stdio_console.c um: line, remove put_char 2020-06-24 16:53:37 +02:00
stdio_console.h
tty.c
ubd_kern.c um: ubd: Submit all data segments atomically 2021-01-06 14:56:55 +01:00
ubd_user.c
ubd.h
umcast_kern.c
umcast_user.c
umcast.h
vde_kern.c
vde_user.c
vde.h
vector_kern.c um: vector: Use GFP_ATOMIC under spin lock 2020-10-11 23:13:00 +02:00
vector_kern.h um: virtio: Replace zero-length array with flexible-array 2020-06-02 22:38:00 +02:00
vector_transports.c
vector_user.c um: vector: Add dynamic tap interfaces and scripting 2020-10-11 23:26:37 +02:00
vector_user.h um: Fix typo in vector driver transport option definition 2020-04-29 21:22:15 +02:00
vhost_user.h um: virtio: Replace zero-length array with flexible-array 2020-06-02 22:38:00 +02:00
virtio_uml.c um: virtio: free vu_dev only with the contained struct device 2021-02-10 09:29:12 +01:00
xterm_kern.c
xterm.c um: chan_xterm: Fix fd leak 2020-12-30 11:53:53 +01:00
xterm.h