diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index cac4046..3ac0ea7 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -2072,6 +2072,7 @@ static long vhost_vring_set_num_addr(struct vhost_dev *d, } vhost_uninit_vq_maps(vq); + vq->invalidate_count = 0; #endif switch (ioctl) {