linux-uconsole/drivers/vhost
Michael S. Tsirkin ae599446db vhost/test: stop device before reset
[ Upstream commit 245cdd9fbd ]

When device stop was moved out of reset, test device wasn't updated to
stop before reset, this resulted in a use after free.  Fix by invoking
stop appropriately.

Fixes: b211616d71 ("vhost: move -net specific code out")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-27 14:51:19 +01:00
..
Kconfig vhost: allow vhost-scsi driver to be built-in 2018-08-22 01:01:32 +03:00
Kconfig.vringh
Makefile
net.c vhost_net: fix possible infinite loop 2019-08-04 09:30:55 +02:00
scsi.c vhost: scsi: add weight support 2019-08-04 09:30:55 +02:00
test.c vhost/test: stop device before reset 2020-01-27 14:51:19 +01:00
test.h
vhost.c vhost: make sure log_num < in_num 2019-09-16 08:22:25 +02:00
vhost.h vhost: introduce vhost_exceeds_weight() 2019-08-04 09:30:55 +02:00
vringh.c
vsock.c vhost/vsock: accept only packets with the right dst_cid 2020-01-04 19:13:36 +01:00