On 6/9/22 19:34, Yuan Wang wrote:
This patch allows vring_state_changed() to clear in-flight dequeue packets. It also clears the in-flight packets in a thread-safe way in destroy_device(). Signed-off-by: Yuan Wang <[email protected]> --- examples/vhost/main.c | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-)
Reviewed-by: Maxime Coquelin <[email protected]> Thanks, Maxime

