mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-28 05:20:27 +09:00
[ Upstream commit245cdd9fbd] 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>