ad5050e42e
When a vdev is removed in destroy_device function,
the corresponding vhost TX buffer will also be freed,
but the vhost TX buffer may still be used in the
drain_vhost function, which will cause an error of
heap-use-after-free. Therefore, before accessing
vhost TX buffer, we need to check whether the vdev
has been removed, if so, let's skip this vdev.
Fixes:
|
||
---|---|---|
.. | ||
ioat.c | ||
ioat.h | ||
main.c | ||
main.h | ||
Makefile | ||
meson.build | ||
virtio_net.c |