mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +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>