summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2019-10-07 13:56:59 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-27 14:51:19 +0100
commitae599446db7401194fd5a1956115e22dd2c0ffc7 (patch)
tree70093512a44d930f409f6f8f0ded2419e17841ac /include
parent2e7d73cb2291f9cc7ea99fc55ae2ddc68c7f7b77 (diff)
vhost/test: stop device before reset
[ Upstream commit 245cdd9fbd396483d501db83047116e2530f245f ] 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: b211616d7125 ("vhost: move -net specific code out") Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions