Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtio-net: purge outstanding packets when starting vhost
whenever we start vhost, virtio could have outstanding packets queued, when they complete later we'll modify the ring while vhost is processing it. To prevent this, purge outstanding packets on vhost start. Cc: [email protected] Cc: Jason Wang <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
- Loading branch information