commit | 245cdd9fbd396483d501db83047116e2530f245f | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Mon Oct 07 13:56:59 2019 -0400 |
committer | Michael S. Tsirkin <mst@redhat.com> | Sun Oct 13 09:38:27 2019 -0400 |
tree | 07c9fa9e0b3ce7785c91522282fb8e0b9150139e | |
parent | edc5774c097f6463e9fb2373832e7db726247809 [diff] |
vhost/test: stop device before reset 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>